ChainHeadNewBlock class

Emitted when a new non-finalized block is imported.

Inheritance

Constructors

ChainHeadNewBlock({required String blockHash, required String parentBlockHash, Map<String, dynamic>? newRuntime})
const
ChainHeadNewBlock.fromJson(Map<String, dynamic> json)
factory

Properties

blockHash String
Hash of the new block.
final
hashCode int
The hash code for this object.
no setterinherited
newRuntime Map<String, dynamic>?
New runtime specification if a runtime upgrade happened.
final
parentBlockHash String
Hash of the parent block.
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