GET /trade/v1/{chainId}/quote/single
Find all available quotes for single-chain trade via Unizen DEX Aggregator
Last updated
Was this helpful?
Find all available quotes for single-chain trade via Unizen DEX Aggregator
Last updated
Was this helpful?
/v1/{chainId}/quote/single
Chain id of the network
56
1
, 137
, 56
, 43114
, 250
, 10
, 42161
, 8453
The address of the token being traded. If native, use address zero.
0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c
The address of the token to receive in exchange. If native, use address zero.
0x55d398326f99059fF775485246999027B3197955
Amount of tokens being traded
1000000000000000000
The address of the sender, if you want to estimate gas
0x54c47034887C582Fc1Af4a9a3b68180a8a9eF2d2
The maximum slippage allowed for the quote, in decimal form. Defaults to 0.005, which means 0.5% slippage.
0.005
The timestamp of the transaction deadline.
1684459981
List of dexes excluded by chain
{"1":["0x0000000000000"]}
The percentage of price impact protection, from 0 to 1
0.5
The fee percentage, from 0 to 1, with 2 decimals
The percentage of slippage protection, from 0 to 1, default 0.5
0.5
Disable estimate gas, by default, is set to true. If you want to obtain estimated gas for the quote in this API, set disableEstimate to false. NOTE: The estimated gas value provided here may not be accurate and should only be used for displaying predicted gas on the UI. For sending transactions, please use the estimateGas function in the /swap API.
Whether split trade is enabled. Default is true.
Whether it is an exact out trade.