ReadonlyamountSell-token amount in the token's smallest unit (positive integer string, no decimals).
Optional ReadonlyapproveOverride approve amount (smallest unit, positive integer string). Defaults to the swap amount.
Optional ReadonlyapproveWhen "true", signatureData includes the spender address and approve calldata so the client can submit it before the swap. Defaults to false.
Optional ReadonlyautoWhen "true", slippage is auto-derived from market data and overrides slippagePercent. Either slippagePercent or autoSlippage=true must be provided — omitting both returns a parameter error. Defaults to "false".
ReadonlybinanceUnique chain identifier (e.g. "56"=BSC, "1"=Ethereum, "CT_501"=Solana).
Optional ReadonlycomputeSolana only — maximum compute units the transaction may consume (analogous to EVM gasLimit). Applies only when binanceChainId=CT_501.
Optional ReadonlycomputeSolana only — priority fee per compute unit (micro-lamports), analogous to EVM gasPrice. When omitted, the platform computes a value dynamically. Applies only when binanceChainId=CT_501.
ReadonlyfromSell-token contract address.
Optional ReadonlygasGas price tier. Defaults to "average".
Optional ReadonlygasGas limit override (positive integer string). EVM only.
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).
Optional ReadonlyslippageMaximum slippage tolerance as a percentage string. Required unless autoSlippage=true.
Range by chain:*
0 to 100 (inclusive)CT_501): 0 to less than 100 (i.e. < 100)Range by vendor:*
0 to 50 (values above 50 are rejected)0 to 100 (EVM) or 0 to < 100 (Solana)0 to less than 100; the value is converted to basis points (slippageBps = ceil(slippagePercent × 100)) and applied to the on-chain swap"0.5" means 0.5% maximum slippage. When autoSlippage=true this field is overridden by the auto-computed value.
Optional ReadonlytipsSolana only — Jito tips in SOL for MEV protection. Valid range [0.000000001, 2] (minimum 1 lamport). When specified, it is recommended to set computeUnitPrice=0. Applies only when binanceChainId=CT_501.
ReadonlytoBuy-token contract address.
ReadonlyuserUser wallet address (transaction sender).
Request parameters for buildSwapTransaction operation in TradingApi. BuildSwapTransactionRequest