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

# How to swap?

Swapping tokens on MedusaSwap is easy, fast and cheap. You can easily get started by following the steps below:

1. Head to the "Swap" page. Select the tokens that you would like to swap from and swap to by using the **Swap tokens** button. In the example, we are swapping from USDC to WSOL.

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

2/ Enter the amount that you would like to swap. You can see transaction details, namely fee and exchange rate.

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

3/ Optional you can set **slippage tolerance** in the right corner (By default set to 1).<br>

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

1. Once everything is set, click **Swap tokens**.

Thats all!


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://medusaswap.gitbook.io/docs/spl-wallet/how-to-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.
