- USDC over Circle CCTP V2: USDC is burned on the source chain and Circle mints the same amount on the destination.
- USDT over USDT0, the LayerZero OFT. On Stellar it arrives as the
USDT0asset.
The bridge is mainnet only.
network=testnet returns 400 bridge is mainnet only.The flow
GET /bridge/routeslists the chains and which source can reach which destination.POST /bridge/quoteprices a transfer and checks the recipient.POST /bridge/buildre-quotes and returns the steps to sign on the source chain.- The user signs and sends each step, in order.
GET /bridge/statusfollows the transfer until it iscomplete.- USDC into Stellar only:
POST /bridge/claim/buildreturns the Stellar transaction that mints the USDC to the recipient.
Routes
id (the value you pass as
sourceChain or destinationChain), its kind (stellar, evm or solana), the token address,
its decimals, and fastSource, whether USDC can leave it with a Fast Transfer. routes lists,
for each source, the destinations it reaches. Read the chain list from this route instead of
hardcoding it: chains get added.
Quote
A successful quote returns
201:
amountInis what leaves the sender, in source units.amountOutis the guaranteed minimum the recipient gets, in destination units. For USDC that isamountInminusmaxFee, the most Circle can keep.feeslists what the transfer pays:cctp_protocol: Circle’s fee, inbps. It is0for a standard transfer and charged on Fast Transfers.cctp_forward: Circle’s Forwarding Service fee, when Circle mints on the destination for the user (every USDC route except into Stellar).oft_protocol: the USDT0 fee.layerzero_messaging: the LayerZero fee in the source chain’s native token (ETH, XLM…), markedpaidSeparately: true. It is not taken from the amount: the user pays it as gas.
recipient.readyisfalsewhen the recipient can’t receive yet, with areason. A StellarG...account needs a trustline to the asset. Without arecipient,checkedisfalse.claimRequired: truemeans the transfer ends with a claim on Stellar (USDC into Stellar).limits.minAmountInis the smallest amount that covers the fees. A smaller amount returns400Amount too small.expiresAtis 30 seconds out./bridge/buildquotes again anyway.
amountOut and the fees before they sign.
Build
Send the quote back unchanged, with the addresses that will sign and receive:{ quote, steps }. quote is the fresh quote the steps were built from. If the
route now delivers less (EXACT_IN) or costs more (EXACT_OUT) than the quote you posted, the
build returns 409 Quote stale: quote again and show the user the new numbers.
steps are in order. Each one has a kind (reset_approval, approval, bridge or claim),
the chain it runs on, a human description and a status:
ready: sign and sendtxnow.rebuild_after_previous: notxyet. Once the previous step has landed, call/bridge/buildagain to get it.
Signing each kind of transaction
tx.format tells you how to sign it.
- EVM
- Stellar
- Solana
{ format: "evm", chainId, to, data, value }. Send it from the sender’s wallet on chainId,
as is. value is in wei: "0" for USDC, the LayerZero fee for USDT.ready together: an approval for exactly the amount when the
allowance is short, then the bridge. USDT on Ethereum may add a reset_approval first,
because that token requires the allowance to go to zero before it changes. The API does not
check balances; the wallet’s own estimate does.Status
Pass the hash of thebridge step’s transaction:
phase is one of:
Poll every few seconds. How long a transfer takes depends on the source chain’s finality: see
Circle’s block confirmation times.
Claim (USDC into Stellar)
USDC into Stellar is minted by a Stellar transaction that someone has to submit. When the status isclaimable, build it:
{ steps } with one ready step of kind claim and a stellar_xdr transaction.
from is any Stellar G... account. It only pays the transaction fee: the USDC always goes to the
recipient fixed at the burn. So your own account can claim for the user, and the user never needs
XLM for it.
425Not attested yet: Circle hasn’t attested the burn. Retry once the status isclaimable.409Already claimed: it is done. Nothing to retry.
Rules worth knowing
- Recipients on Stellar. USDC goes to a
G...account with a USDC trustline, aC...contract or anM...address. USDT goes to aG...account with aUSDT0trustline only. A recipient that can’t receive returns400Recipient not readyat build. - Recipients on Solana. Use the wallet address, never a token account. A wallet with no USDC token account yet is fine: Circle creates it and the quote’s fee includes that.
- EVM addresses must have a valid EIP-55 checksum, or be all lowercase. A mistyped
mixed-case address returns
400before anything is burned. - Stellar amounts have 7 decimals and CCTP has 6. A 7th decimal is rounded down before the
burn, and
amountInshows the rounded value. - Solana senders need a USDC token account (
400Sender not readyotherwise) and enough SOL for the fee and Circle’s event account rent. The sender can reclaim that rent from Circle later.
Errors
Every route and field is in the API Reference.