Skip to main content
POST
Get cross-chain payin quote

Authorizations

Authorization
string
header
required

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

Headers

x-api-key
string | null

Body

application/json

Price a cross-chain deposit into the Base smart wallet.

Which side is pinned is said by which amount is sent, exactly as on the payout: amount in the origin token the user will send, amountTo in the USDC the wallet must receive.

currency
string
required
originChainId
enum<string>
required

1click chain codes.

Available options:
eth,
bsc,
avax,
op,
arb,
pol,
sol,
base,
gnosis,
tron,
xrp,
zec,
doge,
ltc,
btc,
cardano,
bera,
sui,
near,
near_intents,
xlayer,
plasma,
ton,
stellar,
monad,
starknet,
aptos,
adi,
bch
amount
number | null
amountTo
number | null

Response

Successful Response

What a quote prices, and nothing else.

Rail rules — whether a reference is accepted, the floor on the amount, the fee schedule behind it — belong to POST /balance/payout/recipient/capabilities, which the client reads before it prices anything. Repeating them here only gave two sources for one fact.

What this price is, on the other hand, includes how far it can move: minToAmount and slippageBps are not rail rules but this quote's own worst case, and only the provider that priced it knows them.

quoteId
string
required
paymentChannel
string
required
fromAmount
number
required
fromCurrency
string
required
toAmount
number
required
toCurrency
string
required
provider
string | null
documentIds
string<uuid>[]
paymentReference
string | null
minToAmount
number | null
slippageBps
integer | null
depositMemo
string | null
feeAmount
number | null
fixedFee
number | null
flatFee
number | null
feeCurrency
string | null
rate
number | null
expiresAt
string<date-time> | null
depositAddress
string | null
recipientAddress
string | null
originChainId
string | null
destinationChainId
string | null