1

A very simple question, yet couldn't find a simple answer.

Where can I find a list of all event types such as Transfer, Mint, etc? Is this stored anywhere, for ex: online database or historically within a Geth or Parity archive node?

Thanks

1

When logged event is stored in transaction receipt, the type of event is stored as a keccak256 hash of event signature. The signature is a string looking like this: Transfer(address,address,uint256). You may query hashes of all event signatures, but in general there is no way to decode these hashes into plain text signatures. All the signature hashes may be obtained from Google BigQuery with the following request:

SELECT topics[OFFSET(0)]
FROM `bigquery-public-data.crypto_ethereum.logs`
WHERE ARRAY_LENGTH (topics) >= 1
GROUP BY topics[OFFSET(0)];

Currently it returns 155021 different hashes.

| improve this answer | |
  • Thanks, this helps a lot – user2772850 Nov 9 '19 at 22:53

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.