Skip to main content
POST
Create a quote

Example request

Example response

Response fields

Example request

Example response

Response fields

Authorizations

x-api-key
string
header
required

Body

application/json
fromChainId
integer
required

Source chain ID

Example:

8453

toChainId
integer
required

Destination chain ID

Example:

56

fromToken
string
required

Token address on source chain. Use 0x000...000 for native token.

Example:

"0x0000000000000000000000000000000000000000"

toToken
string
required

Token address on destination chain. Use 0x000...000 for native token.

Example:

"0x0000000000000000000000000000000000000000"

amount
string
required

Amount in human-readable units

Example:

"1"

recipient
string
required

Wallet address to receive funds on destination chain

Example:

"0xa110c77fa4b07ab601e63ecd65e99ddb8f1df6ec"

Response

200 - application/json

Quote created successfully

success
boolean
quoteId
string
expiresIn
integer
send
object
receive
object
recipient
string
fees
object
estimatedTime
string
steps
integer
statusUrl
string
depositNote
string