> For the complete documentation index, see [llms.txt](https://pnd-docs.defigeek.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pnd-docs.defigeek.xyz/punodwo-dokyumento/english/user-guide/how-to-borrow-withdraw-base-assets.md).

# 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="https://1161552213-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPtkVNvvczWZyl2mxbxP%2Fuploads%2FZnJAhEEARYDyLMBUaxb2%2FGroup%2046.png?alt=media&amp;token=53b76332-98bb-4248-ab7e-039d2de973e3" 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="https://1161552213-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPtkVNvvczWZyl2mxbxP%2Fuploads%2FOZ4Lv2nwGgKzeI5tBAo8%2FGroup%2047.png?alt=media&amp;token=e10735cb-b246-4bb8-9d7f-7b074d2e5f6c" 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
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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
