Try it Live
Run EventLog examples in the interactive playground
Filter Fields
Address Filter
Single address or array (OR logic):Topics Filter
Array with null wildcards and OR logic:Block Range Filter
Inclusive bounds on block number:Block Hash Filter
Exact block match:Filter Combinations
All specified filters use AND logic:Usage Patterns
Complete RPC-Style Filter
Partial Filters
Omit unnecessary fields:Block Hash vs Block Range
Block hash is alternative to from/to block:Multi-Stage Filtering
Validating Log Completeness
Batch Filtering
For multiple logs, usefilterLogs instead:
Missing Optional Fields
Filter checks only apply if log has required fields:See Also
- matchesAddress - Address filtering
- matchesTopics - Topic filtering
- filterLogs - Batch filtering (recommended for arrays)
- Fundamentals - Filter semantics

