Skip to main content
This page takes a transfer from a quote to signed transactions on the source chain. Start with the Overview for the flow and the chain list.

Quote

Decimals differ by chain. Stellar tokens have 7 decimals and every other chain’s USDC and USDT have 6. 10 USDC is "10000000" on Base and "100000000" on Stellar.
A successful quote returns 201:
  • amountIn is what leaves the sender, in source units. amountOut is the guaranteed minimum the recipient gets, in destination units. For USDC that is amountIn minus maxFee, the most Circle can keep.
  • fees lists what the transfer pays:
    • cctp_protocol: Circle’s fee, in bps. It is 0 for 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…), marked paidSeparately: true. It is not taken from the amount: the user pays it as gas.
  • recipient.ready is false when the recipient can’t receive yet, with a reason. A Stellar G... account needs a trustline to the asset. Without a recipient, checked is false.
  • claimRequired: true means the transfer ends with a claim on Stellar (USDC into Stellar).
  • limits.minAmountIn is the smallest amount that covers the fees. A smaller amount returns 400 Amount too small.
  • expiresAt is 30 seconds out. /bridge/build quotes again anyway.
Show the user amountOut and the fees before they sign.

Build

Send the quote back unchanged, with the addresses that will sign and receive:
The response is { 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 send tx now.
  • rebuild_after_previous: no tx yet. Once the previous step has landed, call /bridge/build again to get it.
Every step must land before the next one is sent.

Signing each kind of transaction

tx.format tells you how to sign it.
{ 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.
All EVM steps come back 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, a C... contract or an M... address. USDT goes to a G... account with a USDT0 trustline only. A recipient that can’t receive returns 400 Recipient not ready at 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 400 before anything is burned.
  • Stellar amounts have 7 decimals and CCTP has 6. A 7th decimal is rounded down before the burn, and amountIn shows the rounded value.
  • Solana senders need a USDC token account (400 Sender not ready otherwise) and enough SOL for the fee and Circle’s event account rent. The sender can reclaim that rent from Circle later.
Once the bridge step has landed, follow it with Status and claim.