GET /indicative-quote
This endpoint returns an estimated amount_out
based on the source chain, source token, destination chain and destination token.
Current, Native only supports ERC20 <> ERC20, and ERC20 <> Native token bridging. If you wish to bridge a native token to another token, you must first wrap it before calling the Native endpoint.
For native token convention, Native uses 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE
to represent the token address of the native token.
Headers
Name | Description |
---|---|
| API Key retrieved from the Native app |
Params
Name | Description |
---|---|
| The blockchain name belonging to the token_in address - Refer to the GET /chains API here for more information |
| The blockchain name belonging to the token_out address - Refer to the GET /chains API here for more information |
| Address of the token to be sold |
| Address of the token to be bought |
| Amount of token to be sold, in wei unit |
| Address of the user that sells the |
| Address of the user that receives the |
Example Request
Example Response
Last updated