> For the complete documentation index, see [llms.txt](https://docs.tealswap.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tealswap.com/how-to-use-tealswap/swap.md).

# Swap

### **Step 1. Select Tokens to swap** <a href="#id-99e6" id="id-99e6"></a>

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

**Component description**

1. **From token select section**\
   The place where users can select the token they want to swap
2. **To token select section**\
   This is where users can select the token they want to obtain through the swap

<figure><img src="/files/bWWEt23HTqTlzlKiijsg" alt=""><figcaption><p>Selecting from token and to token (example)</p></figcaption></figure>

Select the from token and to token at “Swap” menu.

### Step2. Input Values to swap <a href="#id-2624" id="id-2624"></a>

**Step2–1 Input token amount**

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

Users should input the amount of tokens they want to swap.\
However, for the “from” token, they cannot input an amount greater than what they currently possess; otherwise, the swap cannot be executed.

**Step 2–2 set slippage tolerance ratio**

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

*DEX slippage* refers to the difference between the expected price of a trade and the actual executed price on a decentralized exchange (DEX).\
It occurs due to the changing supply and demand of assets in a liquidity pool by other users’ transaction.\
The default value for this is set at 0.1%, and users can adjust it up to a maximum of 50%.

**Step 2–3 Estimated swap result**

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

Before executing a Swap, shall we check the following details?

**Component description**

1. **You will receive**\
   The amount of tokens you will receive after the swap.
2. **Price Impact**\
   The effect of a trade on the price of a token on a decentralized exchange due to changes in supply and demand. If the pool has very low liquidity, it is recommended to make small and frequent trades.
3. **Minimum received after slippage**\
   Based on the current set slippage ratio, the minimum token amount that a user can receive.
4. **Swap Fee**\
   The swap fee imposed when executing the swap.
5. **Optimized Swap Route**\
   The most optimized swap route for the user to swap the current token.

### Step 3. Approve token <a href="#id-0cf4" id="id-0cf4"></a>

If the amount you entered for the “from” token is not approved, an approval process for the “from” token is required before the swap can be executed.

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

Please approve the amount you entered, which should be equal to or greater than the Minimum Approve Amount, in your Wallet app. If you enter a smaller amount, the approval process will be repeated until the appropriate value is entered.

### Step 4. Proceed swap <a href="#id-975f" id="id-975f"></a>

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

To proceed with the swap process, click on the “Execute Swap” button.

### Step 5. Completion page <a href="#id-9b7f" id="id-9b7f"></a>

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

The swap has been completed successfully. You can check the user’s swap transaction history by clicking on the “Transaction Details” button.

### Step 6. My history section <a href="#id-5be2" id="id-5be2"></a>

In addition, you can also view your Swap history in the “My History” section!

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

<br>
