RevokeCash / revoke.cash

❌ Revoke or update your token approvals
https://revoke.cash
MIT License
674 stars 238 forks source link

Solution for accounts with a LOT of token transfers #84

Closed rkalis closed 1 year ago

rkalis commented 1 year ago

For Ethereum there's a limit of 10k logs returned at a time. We have a tree-like retry mechanism for those cases, so that covers almost all accounts. However, for other chains where we use Etherscan's API, for which we can receive 10k logs (paginated in 1k-sized pages) logs at a time, which can be prone to timeouts / rate limit issues.

rkalis commented 1 year ago

The new version has improved this setup slightly, but I feel like it could be improved further so will leave this open.

rkalis commented 1 year ago

For now I've subscribed to a paid version of the BscScan API and moved many other chains to Infura or Alchemy. It seems that this is now mostly working fine.