Due to the fact that the Transfer event is indexed (from, to) it is not possible to search for all transfer events (transferTo, burn, mint) to (!) a destination address. Or did I miss something? Do I have to extend the ERC-20 contract by myself to get such functionality?
1 Like
Hi @Jochen_Online,
Welcome to the community
For a given contract, you can filter on the to
address for the Transfer
event. Though this is for a single contract.
I would suggest trying to get past events for a given contract and experimenting with different filters:
https://web3js.readthedocs.io/en/v1.2.4/web3-eth-contract.html#getpastevents
Hi @Jochen_Online,
Just checking how you got on with this?