0

I'm pretty sure something like this exists, saw it somewhere in the wild, my Google skills need some StackOverflow boost...

I would like to provide two data points:

  • contract address
  • name of the event

The tool automagically fetches the data for me in a nice table.

Concrete example:


Or maybe possible directly in Etherscan?

enter image description here

Search and filter Event Logs for this Address by BlockNo or Topic0 Hash

Unsure how to get all DisputeCreation?


EDIT: There are some solutions via code: How can I view event logs for an ethereum contract?

I did something like that in the past, I'm much more interested in an app that allows me much faster experimentation without prerequesites.

3

1 Answer 1

0

Reading all events from a contract is not very complex, but what you always need is the ABI of the contract. Just the name will not be enough. In the case you have the ABI there a some additional limitations like the 10.000 events limit from infura.io.

A good starting point is the open source project Ethereum-Event-Scan. This code was developed to read all events from a contract in public permissioned blockchains (here Etherscan is not available). It is written in Typescript and Angular for the UI parts. You may take the event reading code for your own purpose (MIT License).

enter image description here

You may find a detailed description on Software Engineering Candies

Disclaimer: I'm the author of Ethereum-Event-Scan and SW Engineering Candies is my page.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.