I used the DApps feature in the trustwallet app to access Bitswap dex aggregator. I tried swapping RSR for USDC. The transaction shows complete in Etherscan yet the RSR never left my wallet and I never received the USDC. I asked someone from the etherscan community and they replied:
That’s because you only did an approval.
Automated Market Makers usually need two transactions in order to trade your tokens :
You first call the ERC20
approve function to authorize the AMM to transfer your tokens on your behalf.
Then you send a second transaction to exchange the tokens.
You only did the first step. Try to check on the Bitswap RSR/USDC pair if you can send the swap transaction.
But now, I don’t actually know what to do, or how to send the second authorization to swap. I don’t know if anyone here is familiar with bitswap or how this works. I guess I am asking how to perform the second part of this transaction, or if I can just somehow cancel it or start over or simply ignore it?
Any advice would be much appreciated.
Here is the transaction hash: 0x3b52d2ff79d0b392f7bb1639a410017e1069883c041cbb96a10b53a5bc411c2f
Thanks TW community!