Post api swap
POST building swap calldata for 8dx aggregation smart contract
Documentation Index
Fetch the complete documentation index at: https://docs.8dx.io/llms.txt
Use this file to discover all available pages before exploring further.
Path Parameters
ethereum, bsc, arbitrum Body
Params for building swap calldata
Destination/taker wallet or contract
Quote path
Deadline in seconds, default 3600 seconds (1 hour)
x >= 0Source wallet or contract
Permit2 data with EIP-2612 signature, if exist
Whether to skip simulation
Custom slippage in bps, default using totalPriceImpact from the quote
x >= 0Whether to use permit
Response
Built swap calldata for 8dx aggregation smart contract
Calldata to send to the aggregator contract
Aggregator contract address - recipient of the transaction (transaction to)
Native value (msg.value) attached to the transaction, in wei
x >= 0Address that the user must approve for ERC20 spending
(null for native-token swaps; equals to for non-permit ERC20 swaps;
equals Permit2 address when use_permit = true)