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

# Swaps

> Exchange one token for another directly within Dfns through integrated DEX providers, with policy controls, slippage limits, and a unified swap interface.

export const Youtube = props => {
  return <iframe className="w-full aspect-video rounded-xl" src={`https://www.youtube.com/embed/${props.videoId}`} title="YouTube video player" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen>
      </iframe>;
};

Swaps is designed to make token trading as simple and transparent as possible, all while keeping you secure within the Dfns ecosystem. Start swapping today and experience a new level of DeFi convenience!

| Provider       | Description                                                                                                                                                                      | Supported Chains                                                                                                                                                                                      |
| -------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| UniswapClassic | The widely adopted Uniswap v2/v3/v4 architecture accessed through the Universal Router. It provides deterministic, on-chain execution with deep liquidity across many ecosystems | Ethereum Mainnet, BNB Smart Chain, Polygon, zkSync, Base, Arbitrum, Celo, Avalanche, Worldchain, etc.  <br />  <br />Check the full list [here](https://api-docs.uniswap.org/guides/supported_chains) |
| UniswapX       | The latest version of Uniswap's swap protocol focused on efficient routing, improved UX, and better rates.                                                                       | Ethereum Mainnet, Arbitrum, Base and Unichain  <br />  <br />Check the full list [here](https://api-docs.uniswap.org/guides/supported_chains)                                                         |

## How It Works

1. **Select Tokens:** Choose the token you want to swap and the token you want to receive.
2. **Enter Amount:** Specify how much you want to swap.
3. **Review Quote:** Instantly see the best available price, estimated fees, and minimum received.
4. **Set Slippage (Optional):** Adjust your slippage tolerance for added control.
5. **Confirm Swap:** Review all details and confirm your transaction.
6. **Track Status:** Monitor your swap in real time and view your transaction history at any time.

<Note>
  If you have a `Wallet:Sign` policy enabled, you will be asked for up to 4 policy approvals (depending on the asset being swapped). Make sure to approve the requests in less than 30 minutes for Uniswap Classic and less than 5 minutes for UniswapX; otherwise, the Swap will expire and fail.
</Note>

## Getting started

Using the dashboard? check out this video!

<Youtube videoId="DFQlAfs2tlw" />

Using our API? head to the [developer documentation](/api-reference/swaps)!

***

[^1]: Swaps are currently available on most EVM chains, with plans to expand to additional chains in the near future.
