GET /indicative-quote
Retrieve amount out for selling an ERC-20 or native token
This endpoint calculates and returns the number of tokens you would get based on the input token amount and the specified token pair. Native's routing optimizes for the best pricing among on-chain aggregators and Private Market Makers (PMMs).
For native token swaps, Native uses 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE
to represent the token address of the native token.
Headers
Params
Example
In this example, wallet 0x42d4e9ee3f725c84b7934e4fda64f2be0f803130
requests a quote for swapping 1 ETH to USDT on the Ethereum network.
Response
Example
In the response above, Native returns 1,846.565451 USDT for the order submitted.
Explore this endpoint and see how it works here.
Last updated