Bridge

Bridge quote

A cross-chain quote from the provider: the steps, fees and the transactions to sign on the origin chain (an approve step is added when the origin token is an ERC-20). Poll /crosschain/status with the deposit hash.

post/crosschain/quote

Request

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

Request body

userstring required

EVM address, hex, case-insensitive.

originChainIdinteger
destinationChainIdinteger required
originCurrencystring required

EVM address, hex, case-insensitive.

destinationCurrencystring 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.

provider'lifi' | 'relay'
usePermitboolean

Relay only: a permit (signature) deposit instead of a transaction, for tokens that support it (native USDC on Arbitrum).

Response

object required

{ provider, requestId, steps[], fees, details, checkEndpoint, txns[] } — provider-shaped; sign txns in order.

Changes

No recorded changes to this operation across all 1 revision of this API.