# Add & Remove Liquidity

### Liquidity Provision

To supply liquidity, you need to have both tokens in the appropriate amounts of the current ratio. ([How to Swap Tokens](/welcome/guides/trading/how-to-swap-tokens.md))

{% embed url="<https://youtu.be/R3LBk45Sisk>" %}

If you provide liquidity for the first time, start by selecting the **`Liquidity Pools`** option from the trading interface.

<figure><img src="/files/80njktVUpVr5CDvJvU5M" alt=""><figcaption></figcaption></figure>

You need to select a pool you wish to provide liquidity

<figure><img src="/files/4fLRBzicEppay58dv4Qn" alt=""><figcaption></figcaption></figure>

The example shows a liquidity provision for the KSM-MGX pool. When you put an amount to any one of the pairs, the protocol will automatically fill the value for the other token respective to the pool's current balance.

It is currently not possible to provide one-sided liquidity. This means you need both KSM and corresponding MGX to provide liquidity into the pool.

{% hint style="info" %}
Be mindful of the transaction fees. It’s a good idea to reserve some MGX to pay fees later on.
{% endhint %}

<figure><img src="/files/X4IO3XBClvRQwj13nVeH" alt="" width="453"><figcaption></figcaption></figure>

Click supply, sign & submit the message from your wallet. Your liquidity position will be automatically activated.

<figure><img src="/files/Aja2UJvOXs6dgkIijbk8" alt="" width="368"><figcaption></figcaption></figure>

### Add Liquidity

You can increase your LP position and activate your LP tokens to receive rewards from liquidity mining.

If you are already a liquidity provider and want to increase & decrease your position, start by selecting ‘My Positions’ on the left panel.

<figure><img src="/files/lfCn0ApmnKIMwVT2tPDG" alt=""><figcaption></figcaption></figure>

Press **add button** in the ‘Provided Liquidity’ section. You will be prompted with KSM-MGX pool to supply liquidity on the screen.

<figure><img src="/files/12bust0OmSx7y9UKLKZb" alt="" width="383"><figcaption></figcaption></figure>

Put in the number of tokens you want to supply liquidity. Do not use the entirety of your MGX balance to reserve for paying further fees.

<figure><img src="/files/PBNGP7KDJTPIYaNLyGqi" alt="" width="317"><figcaption></figcaption></figure>

{% hint style="warning" %}
Remember, it is currently not possible to provide one-sided liquidity. This means you need **both** KSM and corresponding MGX to provide liquidity into the pool.
{% endhint %}

After you sign and submit the transaction, you will receive MGX-KSM LP tokens corresponding to your position in the pool.&#x20;

{% hint style="success" %}
Your MGX-KSM LP tokens are automatically activated for Liquidity Mining after you perform a supply tx. Still its a good idea to check if all of your LP tokens are activated for liquidity mining or not.
{% endhint %}

### Remove Liquidity

You can remove your liquidity and receive your KSM and MGX back.

From the ‘Provided Liquidity’ section, select **`remove`** to burn your MGX-KSM LP tokens and receive the underlying MGX and KSM coins.

{% hint style="success" %}
It’s a good idea to deactivate your LP tokens from liquidity mining before removing liquidity.
{% endhint %}

<figure><img src="/files/95swDb5WaWQ5qh4zYNVx" alt="" width="380"><figcaption></figcaption></figure>

Select the amount of your liquidity to remove. It is not currently possible to determine the amount manually.

<figure><img src="/files/2Z4d5vROFLqRdr9OmAY1" alt="" width="370"><figcaption></figcaption></figure>

Sign & submit the transaction, your MGX-KSM LP tokens will be burned and you will receive the corresponding MGX and KSM tokens in your account.

<figure><img src="/files/QzswMTGfiU5fRh3zATWE" alt="" width="272"><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://docs.mangata.finance/welcome/guides/liquidity-provision/add-and-remove-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.
