• Same-chain swaps work on every chain above.
  • Cross-chain swaps work between any two of them, wherever a solver offers a price for the pair. If none does, the API answers 422 no_route.
  • Private swaps are available on Starknet.
The contracts on each chain are listed in Contract addresses.

The live list

Tern adds chains over time. GET /v1/chains always returns what’s available right now, so use it rather than hard-coding this page.
  • anyAsset: true means any token with enough DEX liquidity on that chain can be swapped.
  • assets lists tokens that solvers support by name, with their symbol, decimals, and logo.
Each token also has a verified flag: true when CoinGecko lists the token at that address. Anyone can create a token with a familiar name, so show a warning next to unverified tokens.

Writing chains, tokens, and amounts

A token’s decimals are in assets from GET /v1/chains, or in the token contract itself.