XY Finance
Build Swap Transaction
Returns the swap data for bridging tokens
This API returns the details about the quote and the transaction that will trigger a single-chain or cross-chain swap request according to the quotation.
Get the swap transaction from the quote
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.
Copy link