Build Approval Transaction
Returns the transaction data for the approval of token spend
This API returns the transaction data so you get to decide whether to approve X Swap to spend your tokens.
get
endpoint
/approve
Get the approve transaction
IMPORTANT :
Note that the amount parameter should be padded with zeroes. For example, pass
100000000
instead of
100
if the decimal digits of the token are 6.
Last modified 10mo ago