# Swap Guide

{% hint style="warning" %}
A haircut fee is charged for each swap. The haircut fee is retained in the protocol as a reserve, learn more at [Haircut (Swap Fee)](https://docs.wombat.exchange/concepts/fees/haircut-swap-fee).
{% endhint %}

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

1. Choose the token pair you want to trade by clicking the token icon, which prompts the token selection menu to pop up.&#x20;

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

2. Enter the desired input or output amount. You may also click `MAX` to trade all your token balances.
3. Once you entered the token amount, details of the transactions will be displayed on the expandable card below the block, including:
   * **Minimum Received**: You can adjust the minimum received in the setting’s swap slippage tolerance option. Transactions will not go through if you cannot receive at least this amount.
   * **Fee**: The transaction fee is charged. This fee is reflected in the total amount displayed.
   * **Price Impact**: The difference between the market price and the approximated price caused by the trade.

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

4. Click `APPROVE` to permit Capybara to access the asset. Once approved, click `SWAP` and confirm your action on the wallet app to go forward.
5. Once the transaction is successful, you may view the details by clicking `VIEW ON KLAYTNFINDER`. Click `DONE` if you want to close the pop-up message and be redirected to the swap page.


---

# 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.capybara.exchange/english/getting-started/swap/swap-guide.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.
