GET /trade/v1/{chainId}/batch_quote/single
By passing in the params, you will receive all available quotes for the trade from our supported DEXs.
By passing in the params, you will receive all available quotes for the trade from our supported DEXes
post
Authorizations
Path parameters
chainIdnumber · enumRequiredExample:
Chain id of the network
1Possible values: Body
amountsstring[]RequiredExample:
Amount of tokens being quoted
["100000","120000","160000"]fromTokenAddressstringRequiredExample:
The address of the token being quoted. If native, use address zero.
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48toTokenAddressstringRequiredExample:
The address of the token to receive in exchange. If native, use address zero.
0xdac17f958d2ee523a2206206994597c13d831ec7Responses
200
Batch quotes for the given trade parameters.
application/json
post
/v1/{chainId}/batch_quote/singlePOST /trade/v1/{chainId}/batch_quote/single HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 166
{
"amounts": [
"100000",
"120000",
"160000"
],
"fromTokenAddress": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"toTokenAddress": "0xdac17f958d2ee523a2206206994597c13d831ec7"
}200
Batch quotes for the given trade parameters.
[
[]
]Last updated
Was this helpful?