Skip to main content
POST
Get transfer quotes
Returns one or more quotes for cross-chain transfers, each with fee breakdowns and estimated duration. Get the steps to execute for the chosen quote from /build-user-steps.

Reference

Request body

Response

Returns a quotes array, rejectedQuotes array, and tokens array.

Quote attributes

Route step attributes

Fee attributes

User step types

User steps can be TRANSACTION or SIGNATURE: TRANSACTION step:
SIGNATURE step (EIP-712 for Aori routes):

Getting userSteps

Get the userSteps for the quote that the user chooses from /build-user-steps, on every route. Many quotes have no userSteps in the /quotes response: quotes for new API keys, quotes on solver routes, quotes from Solana, Sui or IOTA, and quotes from or into Canton. If a quote includes userSteps, /build-user-steps usually returns the same steps. Always execute the steps that /build-user-steps returns.

Executing userSteps safely

For an ERC20 transfer, the API returns zero, one or two approve steps, followed by one bridge step. It omits the approve step when the current allowance already covers the amount. For USDT on Ethereum, it adds an approve(spender, 0) step first if the current allowance is not zero. On routes that execute through LZMultiCall, the steps have these to addresses: On other routes, the approve step names the bridge contract as spender, and the bridge step calls that contract directly. The example response below is such a route.
Do not approve LZMultiCall as a token spenderAny address can call LZMultiCall with any list of calls, so any address can spend an allowance granted to it and can transfer any tokens or native currency it holds. You MUST NOT grant an allowance to LZMultiCall, and you MUST NOT transfer assets to its address.The API sets the spender in each approve step: TransferDelegate on routes that execute through LZMultiCall, and the bridge contract on other routes. You MUST execute each userStep in the order returned, with to, data and value unchanged. The API does not support modified or rebuilt calldata.See Contracts Overview for the contract architecture.

Route types

The API evaluates multiple protocols and returns the best routes:

Code examples

EVM transfer

Response

Errors

The API returns an error object when the request fails:
Check the error field before processing quotes:

Quote expiration

A quote may include expiresAt, in Unix milliseconds. You MUST NOT execute the user steps of a quote after its expiresAt. Request a new quote instead.
  • Build user steps — Build the steps to execute for the quote that the user chooses
  • Submit signature — Submit EIP-712 signatures for intent-based routes
  • Status — Track transfer progress after execution

Examples

Authorizations

x-api-key
string
header
required

API key for authenticating requests. Required for /quotes, /build-user-steps, /submit-signature, and /status endpoints.

Body

application/json
srcChainKey
string
required

Source chain key (for example, 'base', 'arbitrum')

Example:

"base"

dstChainKey
string
required

Destination chain key

Example:

"optimism"

srcTokenAddress
string
required

Source token address (use 0xEeee...EEeE for native ETH)

Example:

"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE"

dstTokenAddress
string
required

Destination token address

Example:

"0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE"

srcWalletAddress
string
required

Sender wallet address

Example:

"0x1234567890123456789012345678901234567890"

dstWalletAddress
string
required

Recipient wallet address

Example:

"0x1234567890123456789012345678901234567890"

amount
string
required

Transfer amount in smallest units (wei for ETH)

Example:

"100000000000000000"

Response

200 - application/json

Successfully retrieved quotes

quotes
object[]
tokens
object[]