quote
Last updated
Last updated
API reference to fetch a quote for a swap.
Address of the sell token
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
Address of the buy token
0x2260fac5e5542a773aa44fbcfedf7c193bc2c599
Sell amount in token base units (e.g. Wei for ETH)
1000000000000
Address which holds the sellToken. (Allowance has to be set before execution)
0xab5801a7d398351b8be11c439e05c5b3259aec9b
Address of the external account that executed the tx. (Only needed if taker is a contract)
0xab5801a7d398351b8be11c439e05c5b3259aec9b
Maximum allowed slippage for the swap. (in basis points)
50
Max price impact for the swap. (in basis points)
10000
Encoding type for the returned raw transaction.
basic
Possible values: 31Third API key (Request via dev@31third.com)
Chain ID as hex string. (e.g.: 0x1 for Ethereum mainnet)