> For the complete documentation index, see [llms.txt](https://chain-ai.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://chain-ai.gitbook.io/docs/bot-information/features/swap.md).

# Swap

Our swap module encompasses a variety of exchanges, including Uniswap, 1inch, PancakeSwap, etc. Additionally, you can choose the route you wish to use: Fastest or Cheapest. By default, it is set to Cheapest.

\
There are two methods to execute a swap: you can either specify the amount of currency you wish to sell or the amount of currency you wish to buy.

To swap or purchase tokens, simply provide the following parameters:

* Buy Amount / Sell amount
* Buy Currency (this can be either the address or name of the token)
* Sell currency
* Network (Ethereum is the default)

<figure><img src="https://3537218618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdQYE3YqbsUAnNYQDAIWW%2Fuploads%2FsMzj88rCXYUoPW1G0Kkr%2Fimage.png?alt=media&amp;token=12f36088-68db-4a3a-b0fa-6a7c8021448c" alt=""><figcaption></figcaption></figure>

However, there's no need to memorize all of this; the ChainAI bot will guide and assist you throughout the process.

After verifying that all parameters are correct, you can press "Submit" to initiate the transaction.
