Skip to main content
POST
Reference example

Request contract

Complete OpenAPI definition Effective request and pricing declaration (including authentication and referenced schemas):

Cost and request rules

Published reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ. Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.
  • Default request reference estimate (USD): 0.012
  • Cost contract: fixed_success
  • Settlement evidence source: request_snapshot

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
fromAmountBaseUnit
string
required

Amount of tokens to send

Example:

"10000000"

fromChainId
string
required

Source Chain ID

Example:

"137"

fromTokenAddress
string
required

Source token address

Example:

"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359"

recipientAddress
string
required

Address of the recipient

Example:

"0x17eC161f126e82A8ba337f4022d574DBEaFef575"

toChainId
string
required

Destination Chain ID

Example:

"137"

toTokenAddress
string
required

Destination token address

Example:

"0xC011a7E12a19f7B1f670d46F03B03f3342E82DFB"

Response

Quote retrieved successfully

estCheckoutTimeMs
integer

Estimated time to complete the checkout in milliseconds

Example:

25000

estFeeBreakdown
object

Breakdown of the estimated fees

estInputUsd
number

Estimated token amount received in USD

Example:

14.488305

estOutputUsd
number

Estimated token amount sent in USD

Example:

14.488305

estToTokenBaseUnit
string

Estimated token amount received

Example:

"14491203"

quoteId
string

Unique quote id of the request

Example:

"0x00c34ba467184b0146406d62b0e60aaa24ed52460bd456222b6155a0d9de0ad5"