Skip to main content

Module filters

Module filters 

Source

Structs§

BlockFilter
Filter for tracking new block hashes.
Filters
Manages Ethereum style filters for block notifications, logs and pending transactions.
LogsFilter
Filter for tracking and collecting contract event logs.
PendingTransactionsFilter
Filter for pending transactions

Enums§

EthFilter
Implements the Ethereum JSON-RPC filter specification, supporting block log and pending transactions filtering capabilities. Each filter type has different polling behavior and data delivery semantics.

Constants§

ACTIVE_FILTER_TIMEOUT_SECS
Default timeout duration for active filters in seconds. Filters that haven’t been polled within this duration will be evicted.
LOG_TARGET

Functions§

eviction_task
Background task that periodically evicts stale filters.
new_id 🔒

Type Aliases§

BlockNotifications
Type alias for block notification streams.
FilterMap 🔒
Maps filter IDs to tuples of filter and deadline.