The quote endpoint is only supported for cross-chain or cross-asset transfers (i.e. those that
specify
destination.chain or destination.asset). Same-chain, same-asset transfers do not
require a quote.Understanding fees
Every cross-chain transfer includes up to three fee components:- Relayer fee — paid to the bridge provider for routing the transfer. This varies with network conditions and liquidity.
- Developer fee — fees to the app developer.
estimated_output_amount already reflects all fees — it is what the recipient will receive.
Usage
To get a quote via REST API, make aPOST request to :
Body
The source asset, amount, and chain for the transfer.
The destination for the transfer.
Amount as a decimal string in standard units (e.g.
"10.0" for 10 USDC). For exact_input, the
amount to send. For exact_output, the exact amount to receive. Takes precedence over
source.amount when both are provided.Whether the amount refers to the input token (
exact_input) or the output token (exact_output).
Defaults to exact_input. When set to exact_output, the quote returns the estimated source
amount needed to deliver the specified destination amount.Optional fee configuration to apply to the transfer.
Response
The amount type from the request, echoed back for clarity.
The source asset, amount, and chain from the request.
The destination address, asset, and chain from the request.
The estimated amount the sender provides, as a decimal string in source token units. For
exact_input, this equals the source amount. For exact_output, this is the estimated amount
needed to deliver the requested destination amount.The estimated amount the recipient will receive, as a decimal string in destination token units
(e.g.
"9.97" for 9.97 USDC). For exact_output, this equals the requested amount.An array of fee line items that make up the total transfer cost. Each item has a
type and an
amount in USD.Unix timestamp (in seconds) after which the quote is no longer accepted. Executing the transfer
before this time gives the best chance of matching the quoted output amount and fees. Quoted
amounts are estimates — actual results may vary slightly if market conditions shift between quote
and execution.
Examples
Example (exact_input)
Example (exact_input)
- Node SDK
- REST API
Example (exact_output)
Example (exact_output)
To quote a transfer where the recipient receives exactly 100 USDC on Arbitrum, regardless of fees:
- Node SDK
- REST API
Quote expiry
Quotes expire quickly — typically within a few minutes. Executing a transfer afterexpires_at means the quoted output and fees no longer apply — the transfer will proceed but at current market rates. Fetch a fresh quote before each transfer execution.
Limitations
Same-chain transfers not supported
Same-chain transfers not supported
The quote endpoint requires either
destination.chain or destination.asset to differ from the
source. Same-chain, same-asset transfers have no fees to quote.Custom tokens not supported
Custom tokens not supported
Transfers using
asset_address (custom token contracts) are not supported for cross-chain
quotes. Only named assets (usdc, usdt, eth, etc.) can be quoted.
