ChainHeadFinalized class
Emitted when blocks are finalized.
- Inheritance
-
- Object
- ChainHeadEvent
- ChainHeadFinalized
Constructors
-
ChainHeadFinalized({required List<
String> finalizedBlockHashes, required List<String> prunedBlockHashes}) -
const
-
ChainHeadFinalized.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
finalizedBlockHashes
→ List<
String> -
Hashes of the newly finalized blocks, ordered by block number.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
prunedBlockHashes
→ List<
String> -
Hashes of blocks that were pruned (no longer part of any fork).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → ChainHeadEventType
-
finalinherited
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