Skip to main content
The App Kit SDK includes the Swap capability that lets you swap two tokens in a few lines of code. Swap supports many stablecoins (including USDC, EURC, USDT, USDe, DAI, and PYUSD) and native tokens on supported blockchains. A kit key from the Circle Console is optional but recommended for production. Without one, requests run against a rate limit. If you hit rate limit errors or expect high request volume, configure a kit key.
Among testnets, only Arc Testnet supports Swap (USDC, EURC, and cirBTC only). Use mainnet for Swap on any other blockchains.

Quick look

This example swaps 1 USDC for EURC on Arc Testnet:
TypeScript
See Swap tokens on a blockchain for a full working example.

Installation

Install the App Kit SDK to use Swap. If you only need to swap and don’t want to install the full App Kit SDK, install the standalone Swap Kit for your preferred adapter below.