# Withdraw Liquidity

Withdrawing liquidity from the pool returns back the token provided by the User and the fee collected by the pool. To witdraw liquidity, a user can follow the below steps.

1. Click on the Pool on which you want to remove liquidity from.<br>

   <figure><img src="/files/66zOxKg3ggfcAtk68KEn" alt=""><figcaption></figcaption></figure>
2. Now to remove liquidity, click on the `Remove Liquidity` botton on the bottom-right corner.<br>

   <figure><img src="/files/EgUNdh4qR85W8V9qFZoI" alt=""><figcaption></figcaption></figure>
3. Liquidity can be removed in custom way using the slider or by selecting 25%, 50%, 75% or Max from the buttons abouve slider.<br>

   <figure><img src="/files/eUyGCj8C4pTcRQkGyEUF" alt=""><figcaption></figcaption></figure>
4. Click on the `Remove` button to remove the selected liquidity from the Pool.<br>

   <figure><img src="/files/FZOIOerqfo2GmLsZprDX" alt=""><figcaption></figcaption></figure>
5. Once done, `Success` page will be shown to the user and the tokens will be returned. Also the transcation can be checked in the explorer by clcicking on the `View on Explorer` button.<br>

   <figure><img src="/files/dqO6iVtERpbJohaMm4Dk" 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://derpdex.gitbook.io/home/getting-started/withdraw-liquidity.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.
