GET /trade/v1/{chainId}/quote/single
Find all available quotes for single-chain trade via Unizen DEX Aggregator
Last updated
Find all available quotes for single-chain trade via Unizen DEX Aggregator
Last updated
Chain id of the network
56
The best quote for the given trade parameters.
The amount of the token being traded
"1000000000000000000"
The amount of the token to receive in exchange
"275769482468993100000"
For exact in trades, deltaAmount is the minimum received amount. For exact out trades, deltaAmount is the maximum input amount.
"274390635056648134500"
An object containing information about the token being traded
An object containing information about the token being received in exchange
A number representing the type of trade being made
0
An array of objects containing information about the protocols used for the trade
An object containing data about the transaction
Native currency amount will be used for this trade.
"0"
Gas Price
"56442235035"
the estimated amount of gas needed for the transaction, if sender address query parameters are provided and disableEstimate is set to false
"11231133211313"
the estimate gas error, returned from RPC, if sender address query parameters are provided and disableEstimate is set to false
"Execution reverted"