# Swap & Provide Liquidity

## Swap

1. Connect your wallet address.<br>

   <figure><img src="/files/pGxQtJesDvfoWJN4DMAq" alt="" width="375"><figcaption></figcaption></figure>
2. Choose the token and amount you want to swap.<br>

   <figure><img src="/files/FhPoR4HGBPwxhEjQ4Zun" alt="" width="375"><figcaption></figcaption></figure>
3. Select the token you want to receive.<br>

   <figure><img src="/files/b3wCdN6NzVVHoTgDKB4s" alt="" width="375"><figcaption></figcaption></figure>
4. CircuitSwap will automatically calculate the amount of tokens you will receive.
5. Click the swap button.
   * If you are swapping ETH, you will only need to sign one transaction.<br>

     <figure><img src="/files/elJBobq9K28kR1za1c0e" alt="" width="375"><figcaption></figcaption></figure>
   * If you are swapping other tokens, you will need to sign two transactions.<br>

     <figure><img src="/files/cCWnIRqOE9wnm0JYejwM" alt="" width="375"><figcaption></figcaption></figure>

     <figure><img src="/files/88dzXvG3PbUo2JGKpWgh" alt="" width="375"><figcaption></figcaption></figure>
6. Once you see the confirmation block, you have successfully swapped.<br>

   <figure><img src="/files/5TGzcvlXledEal0a8Jxi" alt=""><figcaption></figcaption></figure>

## Add/Remove liquidity

1. Click the liquidity tab.<br>

   <figure><img src="/files/L0geDbXXQDei6yaoNWll" alt="" width="563"><figcaption></figcaption></figure>
2. Choose a pool to add liquidity.
   * You can select from popular pools or manually choose a pair to add.

     <figure><img src="/files/RDaELJQby6xdWyMlXvux" alt="" width="375"><figcaption></figcaption></figure>
3. Enter the amount of tokens you want to provide as liquidity.
   * The amount of the other token will be calculated automatically based on pool stats.<br>

     <figure><img src="/files/2x0IBMFBRxE7CiwT0rU4" alt="" width="375"><figcaption></figcaption></figure>
4. Click the deposit button.
   * If you are depositing ETH plus one other token, you will only need to sign two transactions.

     <figure><img src="/files/3N7HlnczocCKkuOHkfMb" alt="" width="375"><figcaption></figcaption></figure>

     <figure><img src="/files/CTqjQVFO5MVdMLQEYRvn" alt="" width="375"><figcaption></figcaption></figure>
   * If you are depositing two non-ETH tokens, you will need to sign three transactions.<br>

     <figure><img src="/files/uK7AwEo6uS0vyXZKJmtj" alt="" width="375"><figcaption></figcaption></figure>

     <figure><img src="/files/R3JuzzxdCuTI7pqeQbFX" alt="" width="375"><figcaption></figcaption></figure>
5. Once you see the confirmation block, you have successfully provided liquidity.<br>

   <figure><img src="/files/V07TVqJ97wqFi8iBhMc4" alt="" width="563"><figcaption></figcaption></figure>

To withdraw your LP tokens:

1. Click the withdraw tab.<br>

   <figure><img src="/files/6wjkwWvyGOsF5a8yehun" alt="" width="375"><figcaption></figcaption></figure>
2. Choose the amount of LP tokens you want to withdraw.<br>

   <figure><img src="/files/BGImi1W4gVQyevEc9wVm" alt="" width="375"><figcaption></figcaption></figure>
3. Click the withdraw button and sign two transactions.<br>

   <figure><img src="/files/1EgS4JX8Hd7CH85BpmAC" alt="" width="375"><figcaption></figcaption></figure>
4. Once you see the confirmation block, you have successfully withdrawn liquidity.<br>

   <figure><img src="/files/OGeZGV9hPZ5CRnPeXh82" alt="" width="375"><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.circuit.money/getting-started/swap-and-provide-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.
