Skip to main content

Overview

Event.getSelector returns the keccak256 hash of the event signature. This value is used as topic0 for non-anonymous events.

Quick Start

Use in Log Filters

Multiple Event Types

Anonymous Events

Anonymous events do not include topic0. You should not filter on a selector for anonymous events.

See Also