> For the complete documentation index, see [llms.txt](https://docs.wheelx.fi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wheelx.fi/how-it-works/swapping.md).

# Swapping

#### Token Swaps

WheelX supports both single-chain and cross-chain token swaps, allowing users to trade assets seamlessly across different environments.

* **For single-chain swaps**

<figure><img src="https://4149802529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTtoew6SwbdqR04YafQFk%2Fuploads%2FkNSw3D2LUlaIIXXQ4byD%2Fsame-chain-swap-wheelx-v1.png?alt=media&amp;token=7e1e90f0-03f8-4105-a1ad-54a895a3999a" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4149802529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTtoew6SwbdqR04YafQFk%2Fuploads%2Fi5glTvXA3t4shTahSJMO%2FSSwap.jpg?alt=media&amp;token=7e09bb47-93cd-4653-9880-f4b1fd4f14b1" alt=""><figcaption></figcaption></figure>

Users can exchange tokens within the same blockchain by leveraging aggregated liquidity from multiple DEXs. This ensures that trades are executed with optimal pricing and minimal slippage without requiring users to manually compare different platforms.

For cross-chain swaps

<figure><img src="https://4149802529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTtoew6SwbdqR04YafQFk%2Fuploads%2FtWWlz3MGzFMwaGbwPvqs%2Fcross-chain-swap-wheelx-v1.png?alt=media&amp;token=fb269455-e7db-49df-ad1a-e16970cade8f" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4149802529-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTtoew6SwbdqR04YafQFk%2Fuploads%2Fg9FSgSOTzgh7W3qNu9ZM%2FCSwap.jpg?alt=media&amp;token=3370c241-e18f-46cb-a684-b12f82591709" alt=""><figcaption></figcaption></figure>

WheelX extends this capability across networks by combining swapping and bridging into a unified flow. Instead of handling multiple steps manually, users can swap assets from one chain to another in a single transaction, with the routing system automatically determining the most efficient path.
