Filter class
Represents a filter configuration for Ethereum event logs.
Constructors
-
Filter({BlockTagOrNumber? fromBlock, BlockTagOrNumber? toBlock, String? address, String? blockHash, List<
List< topics = const []})String> ?> -
Creates a new instance of the Filter class.
const
Properties
- address → String?
-
The address to filter events for.
final
- blockHash → String?
-
The block hash to filter events for.
final
- fromBlock → BlockTagOrNumber?
-
The starting block number or tag for the filter.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toBlock → BlockTagOrNumber?
-
The ending block number or tag for the filter.
final
-
topics
→ List<
List< String> ?> -
The list of topics to filter events for.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited