---
description: >-
  You can swap tokens in the Rhun app using the agent chat interface or the
  built in agent wallet
---

# 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="https://3721895046-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOf4gVcGDjQobuj9fITxg%2Fuploads%2FNlSWxtk3Bw8JiY6BRwg7%2FScreenshot%202025-03-03%20at%207.34.27%E2%80%AFPM.png?alt=media&#x26;token=097fe808-808c-4f87-a734-f719cfcf133a" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3721895046-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOf4gVcGDjQobuj9fITxg%2Fuploads%2F3x0jzp4DkWq88HLU1gyy%2FScreenshot%202025-03-03%20at%207.34.19%E2%80%AFPM.png?alt=media&#x26;token=33c2d59f-22ba-4e60-80bf-e9999c7ead68" alt=""><figcaption></figcaption></figure>



### Pricing

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