# How to Borrow/Withdraw Base Assets

After connecting your wallet, borrowing base assets becomes possible when collateral assets have been deposited.

Or, withdrawing base assets becomes possible when base assets have been deposited.

Click on the base asset row on the pool detail page.

<figure><img src="https://3990862584-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKP6SsdesCFe6jfgBhMAY%2Fuploads%2F4DTmJEZ5ow2lNee3Xjt0%2Fimage.png?alt=media&#x26;token=15227754-f92c-46a1-bcad-d568bfaa2c13" alt=""><figcaption></figcaption></figure>

Click on the "Withdraw (or Borrow)" tab in the popup screen.

<figure><img src="https://3990862584-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKP6SsdesCFe6jfgBhMAY%2Fuploads%2FgFqQJXsxDh6B2Jqu1RsZ%2F%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%202024-10-13%2021.42.19.png?alt=media&#x26;token=681075c1-83af-4fd3-a2c8-9f29f4a7b795" alt=""><figcaption></figcaption></figure>

Enter the amount of tokens you want to borrow or withdraw in the input field.

If you want to borrow the maximum borrowable amount, press the "MAX" button on the right.

If you want to withdraw all deposited base assets, press the "Withdraw All" button on the right.

For borrowing, after checking the borrow APR, press the "Submit" button.

<figure><img src="/files/yMMgu1q9yO1YKv94nGvw" alt=""><figcaption></figcaption></figure>

Check the estimated fee (gas fee) and press the "Confirm" button at an appropriate time.

Paying higher fees allows faster execution.

Adjust the fee if necessary.

Fees must be paid in ETH.

<figure><img src="/files/MVIr9GbUfboI7RvlQdfE" alt=""><figcaption></figcaption></figure>

After a while, if the designated location on the pool detail page has changed, the base asset borrow/withdrawal is complete! 🎉

<figure><img src="https://3990862584-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKP6SsdesCFe6jfgBhMAY%2Fuploads%2FhOi7t8LJdek2Dxtths3s%2FGroup%2033c.png?alt=media&#x26;token=6d1dea45-6175-4dd0-ac49-d5d6f168f896" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://pnd-docs.defigeek.xyz/punodwo-dokyumento/english/user-guide/how-to-borrow-withdraw-base-assets.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
