# Exchange

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

MagicSea DEX is an Automated Market Maker (UniV2 AMM & Liquidity Book CLMM) that allows users to exchange tokens on the blockchain. \
\
The liquidity provided to the exchange comes from Liquidity Providers ("LPs") who stake their tokens in Liquidity Pools. \
\
When a user makes a token swap (trade) on the exchange, a trading fee will be charged.

### To swap one token for another follow the simple instructions below:

1. Navigate in the menu to "Trade"
2. Select from and to which token you want to swap
3. Enter token amount you want to swap
4. Click "Swap" button
5. Check price impact and total fees
6. Click "Confirm Swap" button
7. Confirm transaction in wallet
8. Done


---

# 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.magicsea.finance/protocol/exchange.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.
