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.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.
bridge step has landed, follow it with Status and claim.