XY Finance
Build Approval Transaction
Returns the data for approval of token spending
This API returns the transaction that approves the XSwapper to spend your token.
Get the approve transaction
NOTE : The spender should be the address of XSwapper, which could be retrieved from the contractAddress in the response of Get Quote.
IMPORTANT : Note that amount parameter should be with decimals.