Retrieving All Emitted Events from a Contract Using its ABI

I have the ABI of the contract and need to retrieve all past events efficiently. I’m looking for the best practice or recommended approach that ensures performance and reliability.

I would appreciate guidance on the optimal method to query and process these events. Any sample code or references to documentation would be helpful.

1 Like

@nerses Would this be for a production contract, or local.

For production, you’ll need an indexer to achieve this.

Yeah it will be for production. Is using indexer the only approach ?