BlockCommitment class
Block Commitment
Properties
-
commitment
→ List<u64>?
-
An array of u64 integers logging the amount of cluster stake in lamports that has voted on the
block at each depth from 0 to MAX_LOCKOUT_HISTORY + 1.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
totalStake
→ u64
-
The total active stake in lamports of the current epoch.
final
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson()
→ Map<String, dynamic>
-
Serialises
this
class into a JSON object.
override
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
tryFromJson(Map<String, dynamic>? json)
→ BlockCommitment?
-
Creates an instance of
this
class from the constructor parameters defined in the json
object.
override