# Swap

## **What is Swap?**

A swap in cryptocurrency is the process of exchanging one token(fan token) for another, typically using a decentralized exchange (DEX) such as KAYEN. Swaps allow users to trade tokens directly without intermediaries, leveraging liquidity pools to facilitate these trades.&#x20;

**Transaction Fee**

KAYEN Protocol takes a 0.3% swap fee on all trades.

* 0.15% flows to KAYEN treasury
* 0.15% distributed to LPs for providing liquidity to the pool

#### **Prerequisite**

1. A MetaMask wallet or any other Web3 wallet.
2. You need to have CHZ on Chiliz Chain in your wallet for swap and the gas fee.&#x20;

### Step-by-Step Guide

1. Go to: <https://app.kayen.org/trade>

<figure><img src="https://278515331-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHYAEXjb7COsO4dFqH5tt%2Fuploads%2FtzGO2ovaGBqgg1gW4xDe%2FEkran%20Resmi%202024-10-09%2018.21.47.png?alt=media&#x26;token=18097913-6038-4f87-86af-1b0ef47bf2df" alt=""><figcaption></figcaption></figure>

2. Connect your MetaMask wallet or any Web3 wallet from the top right corner.

<figure><img src="https://278515331-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHYAEXjb7COsO4dFqH5tt%2Fuploads%2FsW6wzy4H7zMLKPnheHJh%2FEkran%20Resmi%202024-10-09%2018.23.17.png?alt=media&#x26;token=a6c93fef-417c-4caf-a4b0-975279d4c8f1" alt=""><figcaption></figcaption></figure>

2. Select the assets you want to swap.&#x20;

<figure><img src="https://278515331-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHYAEXjb7COsO4dFqH5tt%2Fuploads%2Few7v6jR339FbpWHwMwhU%2FEkran%20Resmi%202024-10-09%2018.37.48.png?alt=media&#x26;token=1def1b3a-30e6-43ef-9e2c-af6938ecba6d" alt=""><figcaption></figcaption></figure>

4. After selecting the assets you want to swap, click the "SWAP" button.

<figure><img src="https://278515331-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHYAEXjb7COsO4dFqH5tt%2Fuploads%2FryiHVXJHnqcT5xsy6zX1%2FEkran%20Resmi%202024-10-09%2018.38.46.png?alt=media&#x26;token=ae7acb86-a709-4d8c-aedd-bc2720b72f3e" alt=""><figcaption></figcaption></figure>

5. Click "CONFIRM SWAP" to continue your transaction.<br>

   <figure><img src="https://278515331-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHYAEXjb7COsO4dFqH5tt%2Fuploads%2FmJrS4izpsKVG0VgEr1n3%2FEkran%20Resmi%202024-10-09%2018.56.29.png?alt=media&#x26;token=0fd41a44-ef29-45cf-8225-b75882318112" alt=""><figcaption></figcaption></figure>
6. Click on Confirm.

   <figure><img src="https://278515331-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHYAEXjb7COsO4dFqH5tt%2Fuploads%2F4IrP7jmlALe8pktoxQBT%2FEkran%20Resmi%202024-10-09%2018.56.51.png?alt=media&#x26;token=cc69b269-3e63-48c4-9353-2a076fd38856" alt="" width="375"><figcaption></figcaption></figure>
7. Your transaction has been completed.&#x20;

<figure><img src="https://278515331-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHYAEXjb7COsO4dFqH5tt%2Fuploads%2FX9fwZse1xgMK8z2UMQpA%2FEkran%20Resmi%202024-10-09%2018.57.02.png?alt=media&#x26;token=0e8b3b59-7e45-4340-9b0e-97bcec8c49b2" alt=""><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://kayen-protocol.gitbook.io/documentation/kayen-user-guide/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.
