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
(WIP) Liquidity sources types
Configuration allows three strategies: empty, include or exclude.
Maximum allowed slippage for the swap. (in basis points)
50
Max price impact for the swap. (in basis points)
10000
Min quote expiry. (in seconds) RFQ/OTC quotes from market makers have hard expiries between 40-90 seconds. If minExpiry is set higher then MM expiries these MMs are excluded. (Keep in mind that MM pricing might be better than DEX pricing, especially if quantity is high)
35
Skip Tenderly simulation
false
Skip balance and allowance checks
false
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)