# Remove Liquidity

## **What is Remove Liquidity?**

Removing liquidity is the process of withdrawing your deposited tokens from a liquidity pool on a decentralized exchange (like KAYEN). When you added liquidity, you contributed two tokens (like BAR and CHZ) to a pool and received liquidity provider (LP) tokens in return. Removing liquidity allows you to get back your initial tokens, plus any fees or rewards earned while your tokens were in the pool.

## **How to Remove Liquidity?**

To remove liquidity from KAYEN here’s a step-by-step guide.

#### **Prerequisite**

In order to remove liquidity you need to have these:&#x20;

1. Already have a liquidity position.
2. You need to have CHZ on Chiliz Chain in your wallet for the gas fee.&#x20;

## **Step-by-Step Guide**

1. Go to: <https://app.kayen.org/>

<figure><img src="https://278515331-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHYAEXjb7COsO4dFqH5tt%2Fuploads%2FvoA7COFSjSrhv3tgHcFk%2Fimage.png?alt=media&#x26;token=bbca5097-7749-490e-b9ed-6452d3d3eca1" alt=""><figcaption></figcaption></figure>

2. Connect your MetaMask wallet or any Web3 wallet from the top right corner.

<figure><img src="https://278515331-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHYAEXjb7COsO4dFqH5tt%2Fuploads%2FE02sG0XHLr4fgT3PGZDR%2Fimage.png?alt=media&#x26;token=181d203e-8617-4d9e-9bfb-87a6a7c1c86a" alt=""><figcaption></figcaption></figure>

3. &#x20;After connecting your wallet, scroll down the page you are on. Click on "My Positions", then select the position you want to remove.

<figure><img src="https://278515331-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHYAEXjb7COsO4dFqH5tt%2Fuploads%2FalhTn4F6GmT0jC2EW1Ru%2FEkran%20Resmi%202024-10-09%2015.19.45.png?alt=media&#x26;token=20157c1b-e903-4047-b5b7-38cb014b90e7" alt=""><figcaption></figcaption></figure>

4. Click on "Remove"

<figure><img src="https://278515331-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHYAEXjb7COsO4dFqH5tt%2Fuploads%2FCWvKfAKBt0b7MJkqHmTR%2FEkran%20Resmi%202024-10-09%2015.30.05.png?alt=media&#x26;token=42672ac4-dd73-4d4d-8564-39ea9ad748e0" alt=""><figcaption></figcaption></figure>

5. From here, adjust the amount you want to remove from your selected pool and click the "REMOVE LIQUIDITY" button.

<figure><img src="https://278515331-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHYAEXjb7COsO4dFqH5tt%2Fuploads%2FFUUlNb2iWzyQVEEt3tep%2FEkran%20Resmi%202024-10-09%2015.47.45.png?alt=media&#x26;token=b6b416f7-4f1f-40cf-8d27-d93b99718e63" alt=""><figcaption></figcaption></figure>

6. Set a spending cap for your assets.&#x20;

<figure><img src="https://278515331-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHYAEXjb7COsO4dFqH5tt%2Fuploads%2F3SmywA7apHDFfdEvv63J%2FEkran%20Resmi%202024-10-09%2015.59.41.png?alt=media&#x26;token=7fe84d88-a0c5-4114-b9a9-c22c4e2fe863" alt="" width="375"><figcaption></figcaption></figure>

7. Click on "Approve."

   <figure><img src="https://278515331-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHYAEXjb7COsO4dFqH5tt%2Fuploads%2F3eMe5xiNZxXs7HqlIix3%2FEkran%20Resmi%202024-10-09%2016.01.08.png?alt=media&#x26;token=7af73ca2-0aa2-4430-a98f-71ff161e9770" alt="" width="375"><figcaption></figcaption></figure>

8. Continue by clicking 'CONFIRM ADDING LIQUIDITY.' *Also you can see the estimated gas price here.*

<figure><img src="https://278515331-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHYAEXjb7COsO4dFqH5tt%2Fuploads%2FQfyo3rolAsTJGOLY7yOY%2FEkran%20Resmi%202024-10-09%2016.01.32.png?alt=media&#x26;token=dd2e5eb5-62aa-49b4-9a07-a23eb280674f" alt=""><figcaption></figcaption></figure>

9. Click on Confirm.

<figure><img src="https://278515331-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHYAEXjb7COsO4dFqH5tt%2Fuploads%2FPO0HxQQ95fPGQAYRHNxn%2FEkran%20Resmi%202024-10-09%2016.01.48.png?alt=media&#x26;token=499decda-6de9-4b7f-96d5-eb4d9d1e8b5c" alt="" width="375"><figcaption></figcaption></figure>

10. Your transaction has been completed.&#x20;

<figure><img src="https://278515331-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHYAEXjb7COsO4dFqH5tt%2Fuploads%2FlXMuUwj84EaktPkLBhji%2FEkran%20Resmi%202024-10-09%2016.01.56.png?alt=media&#x26;token=f2dbcb58-0f10-468a-b6c9-3fc0084dd034" alt=""><figcaption></figcaption></figure>
