OptionalcomputeSolana compute-unit ceiling. Echoed when supplied; not returned otherwise. Null on EVM chains.
OptionalcomputeSolana priority fee per compute unit (micro-lamports). Echoed when supplied; computed by the platform otherwise. Null on EVM chains.
OptionaldataABI-encoded calldata.
OptionalfromUser wallet address (transaction sender).
OptionalgasGas limit estimate.
OptionalgasGas price (wei).
OptionalmaxEIP-1559 max priority fee per gas (wei).
OptionalminMinimum buy-token amount the user accepts at the slippage limit (smallest unit, integer string).
OptionalsignatureAuxiliary signature data. When approveTransaction=true was passed, this contains the spender address and approve calldata.
OptionalslippageSlippage value applied to this transaction (percentage string).
OptionaltoDEX router contract address (the transaction's to field).
OptionalvalueNative-token amount sent with the transaction (wei). "0" for ERC-20 swaps.
On-chain transaction payload to sign and submit.
Export
BuildSwapTransactionResponseDataTx