Skip to main content

scanEvents

The events that exist in the network, optionally filtered by multiple event filters. Supports combining filters (e.g. sender AND module AND type). The checkpoint range being scanned can not exceed ServiceConfig.maxScanLimit — use afterCheckpoint, beforeCheckpoint, or atCheckpoint to narrow it. Supports a longer retention than Query.events.

Note that this differs from Query.events, which supports a single filter with an optional sender filter, with no checkpoint range restriction and generally a shorter retention.

scanEvents(
first: Int
after: String
last: Int
before: String
filter: EventFilter!
): EventConnection

Arguments

scanEvents.first ● Int scalar

scanEvents.after ● String scalar

scanEvents.last ● Int scalar

scanEvents.before ● String scalar

scanEvents.filter ● EventFilter! non-null input

Type

EventConnection object