Bridge

Composed cross-chain quote

The composed path only (see /xswap/plan).

post/xswap/quote

Request

  • Base URL: https://api.getchord.xyz/v1
  • URL: https://api.getchord.xyz/v1/xswap/quote
  • Auth: none declared

Request body

userstring required

EVM address, hex, case-insensitive.

chainIn143 | 4663 | 5042 required
chainOut143 | 4663 | 5042 required
tokenInstring required

EVM address, hex, case-insensitive.

tokenOutstring required

EVM address, hex, case-insensitive.

amountstring required

Amount in the token's smallest unit, as a decimal string. Never a float.

slippageBpsinteger
recipientstring

EVM address, hex, case-insensitive.

rail'auto' | 'relay' | 'cctp'

Force a rail; auto applies the corridor rules (Robinhood → Relay; Monad ↔ Arc → CCTP when the mint relayer is funded; else Relay).

Response

chainIninteger
chainOutinteger
tokenInstring

EVM address, hex, case-insensitive.

tokenOutstring

EVM address, hex, case-insensitive.

amountInstring

Amount in the token's smallest unit, as a decimal string. Never a float.

amountOutstring

Amount in the token's smallest unit, as a decimal string. Never a float.

timeEstimateSecnumber
rail'relay' | 'cctp'
railReasonstring

Why this rail.

minAnchorUnitsstring

Amount in the token's smallest unit, as a decimal string. Never a float.

bridgeobject

Rail-shaped: { rail, requestId, checkEndpoint, steps[], fees, details } — sign steps in order on the origin chain (an approval item may be skipped when the allowance covers it).

Changes

No recorded changes to this operation across all 2 revisions of this API.