Skip to main content Module filters Copy item path Source 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 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. 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 eviction_task Background task that periodically evicts stale filters. new_id 🔒 BlockNotifications Type alias for block notification streams. FilterMap 🔒 Maps filter IDs to tuples of filter and deadline.