Skip to main content
POST
Use this endpoint to show users expected costs before they confirm a transfer.
This estimate does not include the compliance screening fee. On networks where the compliance gate is enabled (mainnet today), each deploy also collects a flat refundable screening deposit (currently 0.002 SOL on mainnet) from the signing wallet, charged by the /prepare bundle. Add it on top of the fees returned here when budgeting how much SOL the sourceOwner wallet must hold, otherwise the deploy can fail for insufficient lamports. See Compliance & screening.

Request body

tokenMint
string
required
The Solana mint address of the token to transfer.
amountRaw
string
required
Raw token amount as a string (e.g. "1000000000" for 1 SOL).
tokenDecimals
integer
default:"6"
Decimal precision of the token. Defaults to 6.
hops
integer
default:"7"
Number of intermediate abstraction hops. Range: 3–10. Defaults to 7.

Response

tier
string
Pricing tier determined by the USD equivalent of the transfer.
percentFeeBps
integer
Percentage fee in basis points.
percentFeeRaw
string
Percentage fee in raw token units.
flatFeeLamportsPerHop
integer
Flat fee in lamports charged per hop.
totalFlatFeeLamports
integer
Total flat fee in lamports across all hops.
integratorPercentShare
string
Integrator’s share of the percentage fee in raw token units.
integratorFlatShare
integer
Integrator’s share of the flat fee in lamports.
usdEquivalent
number
USD equivalent of the transfer amount at quote time (used for tier selection).
isTestMode
boolean
Whether this estimate was made with a test-mode API key.