# How to withdraw liquidity

1. Open [Portfolio](https://dedust.io/portfolio) -> ***Wallet*** and check current balances. Then go to ***Liquidity*** -> *Positions.*
2. Choose the pool you need — DUST/TON[^1] in our example.

{% hint style="info" %}
You can also do it from [Pools](https://dedust.io/pools) -> ***My pools*** tab, or just using filters in ***All pools***.
{% endhint %}

<div><figure><img src="https://85253202-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiLJ0WdKUBHXsAEMMSEfd%2Fuploads%2F28PJ3zwNge7hhM42pxJr%2FIMG_3807.PNG?alt=media&#x26;token=77e01f26-dd98-43ee-aa81-5c0134cfe87c" alt=""><figcaption><p>Step 1</p></figcaption></figure> <figure><img src="https://85253202-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiLJ0WdKUBHXsAEMMSEfd%2Fuploads%2FCVoaYwvFcnrxrX50hmN0%2FIMG_3808.png?alt=media&#x26;token=f6ab22b2-ed7d-4482-b471-d98703f60f51" alt=""><figcaption><p>Step 2. Portfolio</p></figcaption></figure> <figure><img src="https://85253202-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiLJ0WdKUBHXsAEMMSEfd%2Fuploads%2FlvDyDfQHzhjARAgCtw56%2FIMG_3819.png?alt=media&#x26;token=ffb77971-60de-4a9a-9f24-27f763a6dcef" alt=""><figcaption><p>Step 2. My pools</p></figcaption></figure></div>

3. In [Pool summary](https://dedust.io/pools/EQBCUifO2pZHiz-IGkzGF74szy0XYelqMCprbjZJcXRf86hz) check your position in ***My liquidity*** tab -> **Position**, and press **'Withdraw'**.
4. Type in or choose the [position size](#user-content-fn-2)[^2] you'd like to withdraw. Let's choose 50%.
5. Check the amount of tokens you're going to receive and press **'Withdraw'** button.

<div><figure><img src="https://85253202-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiLJ0WdKUBHXsAEMMSEfd%2Fuploads%2FtLz3TQX6JkC6S3YQc6IA%2FIMG_3820.PNG?alt=media&#x26;token=0a2b1e45-dffa-4260-85e6-be3ea496be96" alt=""><figcaption><p>Step 3. Pool summary</p></figcaption></figure> <figure><img src="https://85253202-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiLJ0WdKUBHXsAEMMSEfd%2Fuploads%2FQlA8EDv1EEK1qnrJrrtk%2FIMG_3823.png?alt=media&#x26;token=f7f7a7e5-5e41-4d6d-8b5c-b1da45dbd568" alt=""><figcaption><p>Step 3. Position -> Withdraw</p></figcaption></figure> <figure><img src="https://85253202-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiLJ0WdKUBHXsAEMMSEfd%2Fuploads%2FMq8PFt4Kl15mgYEYY7Fc%2FIMG_3830.png?alt=media&#x26;token=75be9741-64e2-463d-b037-077bf505bc09" alt=""><figcaption><p>Step 4</p></figcaption></figure> <figure><img src="https://85253202-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiLJ0WdKUBHXsAEMMSEfd%2Fuploads%2F4lfROeddBHKFKFlYKau2%2FIMG_3832.png?alt=media&#x26;token=2501da82-82b6-4214-8633-900ffcaece60" alt=""><figcaption><p>Step 5</p></figcaption></figure></div>

6. Confirm the withdrawal.
7. Sign the transaction in your wallet application. Consider that there's a [*Network fee*](#user-content-fn-3)[^3] which is fixed and doesn't exceed 0.15 TON.
8. Return to DeDust and go back to Pool summary. Refresh the page in a minute or two if needed.

<div><figure><img src="https://85253202-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiLJ0WdKUBHXsAEMMSEfd%2Fuploads%2FY5xK65o8aOecXI6yy4mJ%2FIMG_3834.png?alt=media&#x26;token=e68555f3-950d-44a7-90e0-c473d838feba" alt=""><figcaption><p>Step 6</p></figcaption></figure> <figure><img src="https://85253202-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiLJ0WdKUBHXsAEMMSEfd%2Fuploads%2FpJVH2BDbZJ5oKwr7JNPg%2FIMG_3838.png?alt=media&#x26;token=61dabbdb-1cc6-4786-969e-3aa69d44c689" alt=""><figcaption><p>Step 7</p></figcaption></figure> <figure><img src="https://85253202-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiLJ0WdKUBHXsAEMMSEfd%2Fuploads%2FjKTaGgilDKBBAKqjbo6N%2FIMG_3841.png?alt=media&#x26;token=71905f1b-02d6-4354-855d-5c2e35f29a43" alt=""><figcaption><p>Step 8</p></figcaption></figure></div>

9. Check your position again after withdrawal.
10. Go to Portfolio to see tokens from your liquidity position are credited to ***Wallet*** balance.&#x20;

{% hint style="info" %}
Keep in mind that some amount of TON was spent as [*Network fee*](#user-content-fn-4)[^4]*.*
{% endhint %}

Your position size in ***Liquidity*** section -> *Positions* has also decreased by 50%.

<div><figure><img src="https://85253202-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiLJ0WdKUBHXsAEMMSEfd%2Fuploads%2F31KiREGXueRe9czrtGd9%2FIMG_3844.png?alt=media&#x26;token=50f8d7f4-48c6-4208-8236-ad262d8b5a59" alt=""><figcaption><p>Step 9</p></figcaption></figure> <figure><img src="https://85253202-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiLJ0WdKUBHXsAEMMSEfd%2Fuploads%2FXZSUNSGpD4AARcw8wLjh%2FIMG_3846.png?alt=media&#x26;token=84a8c5da-5322-41d3-bfd6-644e3a1768e9" alt=""><figcaption><p>Step 10. Wallet</p></figcaption></figure> <figure><img src="https://85253202-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiLJ0WdKUBHXsAEMMSEfd%2Fuploads%2FefYrnOZyf3BmQAtqH856%2FIMG_3847.png?alt=media&#x26;token=ff842a24-d6f7-4437-aca3-1c709e26b7d9" alt=""><figcaption><p>Step 10. Liquidity</p></figcaption></figure></div>

<details>

<summary>In the same way, you can completely withdraw all your liquidity from pool.</summary>

<div><figure><img src="https://85253202-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiLJ0WdKUBHXsAEMMSEfd%2Fuploads%2Fv2K8OwaElNuGTZssz4iN%2FIMG_3857.png?alt=media&#x26;token=7ad0eec2-2dad-4688-8093-0b5cba4af6ad" alt=""><figcaption></figcaption></figure> <figure><img src="https://85253202-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiLJ0WdKUBHXsAEMMSEfd%2Fuploads%2FqubpZAtfK6LcYmCjkJ2z%2FIMG_3859.png?alt=media&#x26;token=97c14276-6086-432f-84c8-9b94fae4cad4" alt=""><figcaption></figcaption></figure> <figure><img src="https://85253202-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiLJ0WdKUBHXsAEMMSEfd%2Fuploads%2FDqMBm5McbhBslaKyTDzb%2FIMG_3886.png?alt=media&#x26;token=2095ac46-5659-455e-8aa7-555f7f0d0740" alt=""><figcaption></figcaption></figure> <figure><img src="https://85253202-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiLJ0WdKUBHXsAEMMSEfd%2Fuploads%2FxzvrQ2amDY3leqJFqv65%2FIMG_3887.png?alt=media&#x26;token=eeaa792c-5c91-43e2-99d7-13af94bab270" alt=""><figcaption></figcaption></figure></div>

</details>

{% hint style="info" %}
Even after you withdraw all the liquidity from pool, you'll still be able to claim your Fee earnings anytime.
{% endhint %}

[^1]: * Type: **CPMM v2**
    * Trade fee: **0.25%**
    * Fee earnings: **DUST + TON**

[^2]: You can enter any value from 0.01% to 100%

[^3]: *The exact* [*Network fee*](https://help.dedust.io/en/protocol/fees#blockchain-fees-or-network-fees) *will depend on wallet app that you use, selected token, the network load and performance. Usually less than a half of this amount is really being used. The rest goes back to your wallet after the transaction is completed. The network fee is taken with some excess to prevent your transaction and assets from stuck on halfway in the blockchain due to insufficiency of TON.*

[^4]: ≈ 0.0475 TON (or ≈ $0.0722) in our case.
