I understand that I can filter for logs with indexed events like so:

event Transfer(address indexed src, address indexed dst, uint wad);

whereby, I can search for all Transfer events with src=anAddress etc.

How can I find specific events that DO NOT have any indexed params, like so:

event Mint(address minter, uint mintAmount, uint mintTokens);

I know that each event will have topic0 hardcoded to its function signature but is there a way to find all Mint events where minter=anAddress without crawling through all events matching the mint function signature on RPC?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.