0

Good day,

I am learning. Can someone help me to understand what happened and went wrong here: https://etherscan.io/tx/0xff8066ef6f01979d18829b1b0f744918018f9ca61d6d1a2f3c1446d3e4885311

I assume the ETH gas is gone too? I would like to avoid this mistake/error in the future.

Thank you,

1 Answer 1

1

From the documentation:

Transfers tokens from the targeted address to the given destination Errors with 'STF' if transfer fails

STF stands for safeTransferFrom. So there is an error when transferring the tokens. It is likely you didn't execute the approve() function before doing the swap. Or you didn't approve() enough of the token you are trying to swap.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.