FilterOptions class
Options for event filters created with Web3Client.events.
Constructors
-
FilterOptions({BlockNum? fromBlock, BlockNum? toBlock, EthereumAddress? address, List<
List< ? topics})String> > - FilterOptions.events({required DeployedContract contract, required ContractEvent event, BlockNum? fromBlock, BlockNum? toBlock})
Properties
- address → EthereumAddress?
-
The optional address to limit this filter to. If not null, only logs
emitted from the contract at address will be considered. Otherwise, all
log events will be reported.
final
- fromBlock → BlockNum?
-
The earliest block which should be considered for this filter. Optional,
the default value is BlockNum.current.
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 → BlockNum?
-
The last block which should be considered for this filter. Optional, the
default value is BlockNum.current.
final
-
topics
→ List<
List< ?String> > -
The topics that must be present in the event to be included in this
filter. The topics must be represented as a hexadecimal value prefixed
with "0x". The encoding must have an even number of digits.
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