0

Let's say I am an end-user who has been testing dapps here and there and I've approved multiple tokens spending for my wallet for different dapps.

Is there an easy way for me to get the list of which contract (dapp) is allowed to spend which token for my wallet?

4
  • Yes, if you have the total list of tokens that you have in your wallet (i.e., the contract address of each token). Dec 28, 2020 at 15:00
  • So it's necessary to know the tokens before hand then? Does that mean I'd need to kind of scan for erc20 transactions, determine which tokens have moved and then look for the allowance?
    – Kev
    Dec 28, 2020 at 15:23
  • There might be a way without it, one sec... Dec 28, 2020 at 15:29
  • @goodvibration Just wanted to ping you in case you had a solution
    – Kev
    Jan 14, 2021 at 20:54

1 Answer 1

0

My tool Revoke.cash checks for all the allowances that you gave to someone else. The code for Revoke is open source so if you could look at the code to inspect how it works in case you'd need to do this programmatically.

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.