Try it Live
Run EventLog examples in the interactive playground
Topic0 Semantics
Non-anonymous events: Topic0 is the keccak256 hash of the event signature:Usage Patterns
Identifying Event Type
Filtering by Signature
Validating Event Structure
Computing Event Signature
Empty Topics Array
If topics array is empty,getTopic0() returns undefined:
See Also
- getSignature - Alias for getTopic0
- getIndexedTopics - Get topic1-topic3
- Fundamentals - Event signature hashing

