# Providing Liquidity

Once you've selected a market (see [Testnet UI Walkthrough](https://element-2.gitbook.io/element-docs/element-protocol/testnet-ui-walkthrough)) you can add or remove liquidity from it.

{% tabs %}
{% tab title="Adding Liquidity" %}

<figure><img src="https://2214410498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy6MnMbfUUEoG2IqZDDL1%2Fuploads%2FuT51zPcrtKKiVYSDZmsG%2Fimage.png?alt=media&#x26;token=b5468ab5-dfd0-4d01-b679-ce0b5bad5324" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2214410498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy6MnMbfUUEoG2IqZDDL1%2Fuploads%2FTLFHPoFRcWl2QZAXKLx8%2Fimage.png?alt=media&#x26;token=8062114f-f190-4a68-8ac3-c2474f6cbc30" alt=""><figcaption></figcaption></figure>

1. Click on the **Add Liquidity** button on the **LP** tab of the page.
2. Input the amount you want to deposit. You can review the resulting position here before proceeding.
3. Click on the **Add Liquidity** button. This will prompt a transaction on your web3 wallet.

Once the transaction is executed on the blockchain, your open position will be listed on the **LP** tab.
{% endtab %}

{% tab title="Removing Liquidity" %}

<figure><img src="https://2214410498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy6MnMbfUUEoG2IqZDDL1%2Fuploads%2FZtzRMaLKqAP0NyAo4jfT%2Fimage.png?alt=media&#x26;token=c35fc256-2d04-49d9-924e-a94451bc2e90" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2214410498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy6MnMbfUUEoG2IqZDDL1%2Fuploads%2FCFKnXEfqbgqPeTl46vkZ%2Fimage.png?alt=media&#x26;token=e2c39dd6-e49f-4baa-a32c-5b0f5a7ee47c" alt=""><figcaption></figcaption></figure>

1. Click on the **Remove Liquidity** button on your LP position under the **LP** tab of the page.
2. Input the amount of liquidity you want to remove.&#x20;
3. Once you've checked your inputs and the transaction preview, click on the **Remove Liquidity** button. This will prompt a transaction on your web3 wallet.

Once the transaction is executed on the blockchain your position will be closed. You can still see its details under the **Closed** tab.
{% endtab %}

{% tab title="Delayed Withdrawals" %}
If you've tried to remove liquidity that was being utilized to back open user positions, you may have started a [Delayed Withdrawal](https://element-2.gitbook.io/element-docs/element-protocol/testnet-ui-walkthrough/broken-reference) process. If there is no unutilized liquidity available to withdraw, the **Redeem** button will appear disabled:

<figure><img src="https://2214410498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy6MnMbfUUEoG2IqZDDL1%2Fuploads%2FliA69mxY8nFlrUMGm5vs%2Fimage.png?alt=media&#x26;token=ae8616b1-6ce2-493c-91c6-c54fcc26668b" alt=""><figcaption></figcaption></figure>

Once liquidity becomes available, you can complete your delayed withdrawal process:

<figure><img src="https://2214410498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy6MnMbfUUEoG2IqZDDL1%2Fuploads%2FAW5rtedsF93uPDk4Wddp%2Fimage.png?alt=media&#x26;token=47b51877-ca6d-4ffb-87b4-656b79cfb771" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2214410498-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy6MnMbfUUEoG2IqZDDL1%2Fuploads%2FlkmggVy9nzQMfbKtZucP%2Fimage.png?alt=media&#x26;token=ed86ba67-2b56-436b-9ba1-d6cb085b4508" alt=""><figcaption></figcaption></figure>

1. Find your **Queued withdrawal** under the **LP** tab in the page and click on the **Redeem** button. A form will pop up.
2. Input the amount you want to complete the withdrawal process for.
3. Click on the **Complete withdrawal** button. This will prompt a transaction on your web3 wallet.

Once the transaction is executed on the blockchain you will receive your assets and your withdrawal will be completed.
{% endtab %}
{% endtabs %}
