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

# Swap Tokens

### Swap Using The Agent Chat Interface

You can initiate a swap by instructing your agent to exchange one asset for another. For example, if you tell it to “swap 1 SOL for RHUN,” it will first look up the coin through CoinGecko. If the coin is found, the swap will be executed using Jupiter on Solana. Once the transaction is confirmed, your agent will provide you with a Solscan link to verify the details.

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOf4gVcGDjQobuj9fITxg%2Fuploads%2FzFna3pXsGIluErjk5SKp%2Fswap-demo-docs.mp4?alt=media&token=30e30551-1cf9-482f-b7b0-675725688c13>" %}

### Swap Using The Agent Embedded Wallet

You can swap using the embedded agent wallet by clicking on the "Swap" button in the chat sidebar located on the right-hand side of the chat interface.&#x20;

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

You can then choose your from and to token, and an optinal slippage tolerance.&#x20;

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

### Pricing

All swaps will incur a 1% fee on the total USD amount of the transaction.&#x20;
