3️⃣Build Approval Transaction

If your allowance is not sufficient, this endpoint can help you initiate an ERC20 approval transaction.

Get Approve Tx

get
Query parameters
tokenAddressstringRequired

ERC20 token address.

spenderstringRequired

Spender of ERC20 token.

amountintegerRequired

Approve amount of ERC20 token.

Responses
chevron-right
200

Successful Response

application/json
Responseany of
or
get
/approveTx
200

Successful Response

circle-info

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

circle-info

Here you can find our full API referencearrow-up-right

Last updated