ReadonlyamountSell-token amount in the token's smallest unit (positive integer string, no decimals).
Optional ReadonlyautoWhen "true", slippage is auto-derived from market data and overrides slippagePercent. Defaults to false.
ReadonlybinanceChain identifier. Only CT_501 (Solana) is accepted; other values return CHAIN_NOT_SUPPORTED (40411).
Optional ReadonlycomputeMaximum compute units the transaction may consume (analogous to EVM gasLimit). Defaults to the platform value when omitted.
Optional ReadonlycomputePriority fee per compute unit (micro-lamports). When omitted, the platform computes a value either from the gasLevel tier or from chain-side defaults.
Optional ReadonlyfeeCustom fee (referral fee / Add Fee) percentage as a decimal string. Must be paired with exactly one of fromTokenReferrerWalletAddress or toTokenReferrerWalletAddress (the two referrer addresses are mutually exclusive). Same semantics as /swap.
Range (Solana):* (0, 10] — greater than 0, up to 10 inclusive, max 2 decimal places. "1.5" means 1.5%. Values exceeding 2 decimal places are rejected with INVALID_FEE_PERCENT (40466).
four.meme tokens are not supported* — do not pass fee parameters when either side of the pair is a four.meme token.
ReadonlyfromSell-token mint address (Solana Base58, case-sensitive).
Optional ReadonlyfromWallet address that receives the fee deducted from the sell token (FROM_TOKEN direction). Mutually exclusive with toTokenReferrerWalletAddress — providing both returns CONFLICT_REFERRER_PARAMS (40468). Solana requires a Base58 pubkey; an invalid format returns INVALID_REFERRER_ADDRESS (40467). Must be paired with feePercent.
Optional ReadonlygasPriority-fee tier; consulted only when computeUnitPrice is omitted. Defaults to "average".
Optional ReadonlymaxCap on auto-derived slippage (only applies when autoSlippage=true).
Optional ReadonlynonceUnique request identifier for anti-replay; falls back to X-OC-SIGN if omitted.
Optional ReadonlypriceMaximum allowed price impact percentage (0–100). Defaults to 90; set to 100 to disable.
ReadonlyquotequoteId returned from /quote for the route to execute. TTL ~30s; expired entries return QUOTE_EXPIRED (40401).
Optional ReadonlyrecvAllowed time deviation in milliseconds (default: 5000, max: 60000).
ReadonlyslippageMaximum slippage as a percentage. Solana range 0 to less than 100. "0.5" means 0.5%.
Optional ReadonlytipsJito tips in SOL for MEV protection. Valid range [0.000000001, 2] (minimum 1 lamport). When specified, it is recommended to set computeUnitPrice=0. The platform picks one of Jito's tip accounts at random per request.
ReadonlytoBuy-token mint address (Solana Base58, case-sensitive).
Optional ReadonlytoWallet address that receives the fee deducted from the buy-token output (TO_TOKEN direction). Mutually exclusive with fromTokenReferrerWalletAddress — providing both returns CONFLICT_REFERRER_PARAMS (40468). Solana requires a Base58 pubkey; an invalid format returns INVALID_REFERRER_ADDRESS (40467). Must be paired with feePercent. The referrer must already be activated (funded with some SOL) or the request returns REFERRER_NOT_ACTIVATED (40469).
ReadonlyuserUser wallet address (Solana Base58); becomes the v0 transaction's feePayer.
Request parameters for buildSolanaSwapInstructions operation in TradingApi. BuildSolanaSwapInstructionsRequest