> For the complete documentation index, see [llms.txt](https://range-protocol.gitbook.io/range-protocol/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://range-protocol.gitbook.io/range-protocol/amm-vaults/ui-guide/how-to-add-remove-liquidity.md).

# How to Add/Remove Liquidity

Once you are on the page of a given vault, you can add liquidity for both assets. It’s also possible to provide liquidity for one asset and to have half of it converted to the corresponding token.

### &#x20;**Adding Liquidity**

1. Select a vault that you want to add liquidity for and connect your wallet to your chain. Supported wallets include Metamask, Wallet Connect, Coinbase Wallet, and many more.
2. Enter the amount of tokens that you want to add liquidity with. You need to provide liquidity in both the tokens depending on the ratio in the pool. Enter the amount for one token and the other is automatically filled-in for users.
3. Approve tokens
4. Click "Add Liquidity" to send the transaction to the chain.
5. You will receive LP tokens in your wallet that you can use anytime to withdraw your liquidity + fees. The value of these LP tokens automatically changes with the performance of the vaults. Your added liquidity is displayed in the box above

You'll receive LP tokens in your wallet, which can be used anytime to withdraw your liquidity along with fees. The value of these LP tokens adjusts automatically based on vault performance. Your added liquidity is shown in the box above.<br>

<figure><img src="https://lh7-us.googleusercontent.com/ZYaTarfHPnm1ZSZGkOSV6b-Z81p9EbC5gxX7pAULIeQpfwW85ZrMDz8XJvUzSuu86Yg9ihxXmpVDQgRv1J4QjNNoz0foLW3h3XdTcGC2sqH2Hj2ancdV2qHYNVwTdhn6e_PqvElZ5SIS0Igl7rfdRfw" alt=""><figcaption></figcaption></figure>

The “Add” tab is for providing a pair of assets.

<figure><img src="https://lh7-us.googleusercontent.com/K4SpCth9IF2IZ1pHm_WopySmA03IbASAQmWEDq1S7trUCwjglcLlKx-Y1oHJV8oDEUiZrJXpT5t4Eghzhpp9egXqWNgB52-2vftHNlieJWXck0XxO7hIvU_e1jINcZnvYPGEmjmTVBz1YWwVpC8g7Lk" alt=""><figcaption></figcaption></figure>

The “Swap & Add” tab is for providing a single asset.

### Removing Liquidity

When removing liquidity, the ratio in which you get back the tokens depends on the position's current ratio. The vault rebalances in such a way that the vault's overall exposure of the base token is maintained constant. Each user's exposure might change.

1. Connect your wallet with the chain
2. Click on the "Remove Liquidity" tab and specify the amount of LP tokens you want to redeem. You can also select this via a slider to choose it as a percentage.
3. You will be able to view how many exact tokens you would receive.
4. Click on "Remove Liquidity" button to send the transaction via your wallet

<figure><img src="https://lh7-us.googleusercontent.com/OIdNYkVNrsNEhwiaKRHCD2CB4bDm3S-dWUtMIlnqEhb3dHv0gwDZrNcAke4zYuAYy2bWI2RH6mcs2L__mV4Du_eh3FtDNB48BUEuH5yFCUQwpafDEuQfae2vYt3bB1I7iCpPMgFHmGUIhPxrqDSSG74" 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 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://range-protocol.gitbook.io/range-protocol/amm-vaults/ui-guide/how-to-add-remove-liquidity.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.
