> For the complete documentation index, see [llms.txt](https://hyperloan.gitbook.io/hyperloan-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hyperloan.gitbook.io/hyperloan-docs/hyperloan-withdraw.md).

# HyperLoan Withdraw

Claim your Yields

Withdrawing tokens from the Aave Protocol transfers underlying supplied assets along with any accrued interest, provided there is sufficient liquidity in the pool. This means suppliers can withdraw up to the amount available in the pool that is not currently borrowed!

#### Withdrawing Tokens can be made fully or partially by performing the following steps:

### Step 1: Connect Wallet <a href="#step-1-connect-wallet" id="step-1-connect-wallet"></a>

To begin, press ‘Connect Wallet’ and select the Ethereum wallet provider corresponding to the wallet where the tokens are supplied.

### Step 2: Navigate to 'Your Supplies' <a href="#step-2-navigate-to-your-supplies" id="step-2-navigate-to-your-supplies"></a>

Once connected, navigate to the ‘Dashboard’ and locate the ‘Your Supplies’ section. This table displays all tokens you have supplied to the HyperLoan Protocol.

### Step 3: Select Token to Withdraw <a href="#step-3-select-token-to-withdraw" id="step-3-select-token-to-withdraw"></a>

Choose the token you wish to withdraw from the list. Verify that there is enough available liquidity in the pool to support your withdrawal. If the token is not being used as collateral for an active borrow position, you can proceed to withdraw the desired amount.

### Step 4: Confirm Withdrawal <a href="#step-4-confirm-withdrawal" id="step-4-confirm-withdrawal"></a>

Enter the amount you want to withdraw and confirm the transaction in your wallet. If you are withdrawing the same underlying token that you supplied (e.g., WBSEC to WBSEC), no additional approval transaction is needed. However, if you’re withdrawing to a network base token, such as BSEC, the HyperLoan Protocol stores these as wrapped tokens (e.g., WBSEC). In this case, the withdrawal process involves the WrappedTokenGateway contract, where the WBSEC is unwrapped and withdrawn in a single transaction.

### Step 5: Handling Collateralised Tokens <a href="#step-5-handling-collateralised-tokens" id="step-5-handling-collateralised-tokens"></a>

If your supplied tokens are used as collateral, you may need to repay part of your borrow position or supply additional collateral to maintain a healthy balance before you can withdraw. Regularly monitoring your health factor will help you manage this effectively.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://hyperloan.gitbook.io/hyperloan-docs/hyperloan-withdraw.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
