FilterEvent class
A log event emitted in a transaction.
Constructors
-
FilterEvent({bool? removed, int? logIndex, int? transactionIndex, String? transactionHash, String? blockHash, int? blockNum, EthereumAddress? address, String? data, List<
String?> ? topics}) -
FilterEvent.fromMap(Map<
String, dynamic> log)
Properties
- address → EthereumAddress?
-
The address (of the smart contract) from which this log originated.
final
- blockHash → String?
-
Hash of the block where this log was in.
null
when it's pending.final - blockNum → int?
-
The block number of the block where this log was in.
null
when it's pending.final - data → String?
-
The data blob of this log, hex-encoded.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- logIndex → int?
-
Log index position in the block.
null
when the transaction which caused this log has not yet been mined.final - removed → bool?
-
Whether the log was removed, due to a chain reorganization. False if it's
a valid log.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
topics
→ List<
String?> ? -
The topics of this event, hex-encoded.
final
- transactionHash → String?
-
Hash of the transaction which caused this log.
null
when it's pending.final - transactionIndex → int?
-
Transaction index position in the block.
null
when the transaction which caused this log has not yet been mined.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override