2️⃣Get Allowance

If source quoting asset is an ERC20 token, you should ensure that source token owner has approved sufficient token amount to spender before proceed swap operation. This endpoint provide convenient way to check ERC20 allowance amount.

NOTE : The spender should be the contractAddress in the response of Get Quote. e.g. routes[{ROUTE_INDEX}]["contractAddress"]

Here you can find our full API reference

Last updated