paraswap/paraswap-sdk

Cannot Swap & Send when doing a BUY transaction

Opened this issue · 1 comments

Hi, we are integrating paraswap and it seems to work fine in SELL cases, however when attempting to do a BUY transaction with a swap & send functionality (receiver is different), It throws an error saying Got an error when building a TX: This transaction has some errors and may fail. Please contact support for more details

srctoken: Ethereum
destToken: USDC
chain: 1
destamount: 100000000

Basically want to buy 100 USDC with Ethereum, and send it to a different address