> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flipsuite.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Swap

> Learn more about the /swap tokens command.

## Overview

You can use `/swap tokens` command to swap tokens inside your Flipwallet.

<Accordion title="Command arguments">
  <ParamField body="from" type="string" required>
    Name or address of the token to sell.
  </ParamField>

  <ParamField body="amount" type="string" required>
    Amount to swap. You can use "%" and "\$" for relative amounts.
  </ParamField>

  <ParamField body="to" type="string" required>
    Name or address of the token to buy.
  </ParamField>
</Accordion>

<Tip>
  You can swap **any** tokens in Flipsuite, even those that are not officially supported by Flipsuite yet. Simply
  enter a chain name and token address instead a token symbol (e.g., `base 0x46...6c59`),
  or add a custom token to your own custom token list via [/profile](/flippy/commands/profile).
</Tip>

<Frame caption={"Executing swap in Discord"}>
  <img src="https://mintcdn.com/flipsuite/VxrSTxRydJKm9qVX/images/modules/trading/swap-command.png?fit=max&auto=format&n=VxrSTxRydJKm9qVX&q=85&s=271712c63ef1dbaa9c12b73e356eaaf6" className="rounded-lg" width="466" height="109" data-path="images/modules/trading/swap-command.png" />
</Frame>

If a route for your swap has been found, you will get a quote for your swap:

<Frame caption={"Swap quote"}>
  <img src="https://mintcdn.com/flipsuite/VxrSTxRydJKm9qVX/images/modules/trading/swap-quote.png?fit=max&auto=format&n=VxrSTxRydJKm9qVX&q=85&s=753902c40f48f950b213afc10d08465f" className="rounded-lg" width="480" height="671" data-path="images/modules/trading/swap-quote.png" />
</Frame>

If you're satisfied with the quote, simply click the **swap** button to execute your swap.

<Frame caption={"Successful swap"}>
  <img src="https://mintcdn.com/flipsuite/VxrSTxRydJKm9qVX/images/modules/trading/swap-result.png?fit=max&auto=format&n=VxrSTxRydJKm9qVX&q=85&s=8d47bdcda25bec3cef3aeffdcac0ece3" className="rounded-lg" width="482" height="220" data-path="images/modules/trading/swap-result.png" />
</Frame>
