# Swap

The Swap feature allows direct exchange of tokens on WEMIX.Fi. This guide walks through the complete process from connecting a wallet to completing a transaction.

{% hint style="info" %}

#### Prerequisites

Required items for Swap:

* A Web3 wallet(WemixPLAY, MetaMask) set up for WEMIX3.0 network
* Tokens to swap in the wallet
* Native WEMIX to pay network transaction fees
  {% endhint %}

***

{% stepper %}
{% step %}

## Starting a Swap

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

* Connect a wallet to WEMIX.Fi and navigate to the Swap page.
  {% endstep %}

{% step %}

## Select Tokens

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

* Choose the source token (From) and destination token (To). The interface displays available wallet balances.
  {% endstep %}

{% step %}

## Enter Amount

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

* Input the swap amount. The interface calculates the estimated output based on current rates.
  {% endstep %}

{% step %}

## Swap Details

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

* The interface provides key transaction information:

  * **Minimum Trading Amount:** The minimum guaranteed output after accounting for fees, slippage, and price changes.
  * **Optimal Swap Route:** The most efficient path through liquidity pools for the best rate. Routes may include intermediate tokens.
  * **Trading Fee:** Fee rates vary based on the liquidity pool's fee tier configuration.
  * **Price Impact:** The effect of trade size on token price. Larger trades create higher price impact and less favorable rates.
  * **Slippage Rate:** Maximum acceptable price deviation during execution. Options include 0.1%, 0.5%, 1.1%, or custom input. Lower slippage provides protection but risks transaction failure. Higher slippage increases success rate but permits greater price variation.

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

{% endstep %}

{% step %}

## Executing the Swap

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

* Review the transaction details and confirm.
  {% endstep %}

{% step %}

### Executing the Swap

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

* The wallet requests approval - first-time token swaps may require additional contract approval. After approval, the transaction processes on the blockchain.

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

* A confirmation notification appears upon completion.
  {% endstep %}

{% step %}

## Transaction History

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

* Completed swaps appear in the Dashboard's Transaction History.
  {% endstep %}
  {% endstepper %}


---

# 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.wemix.fi/guides/swap.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.
