BlockHeaderRaw class

Inheritance

Constructors

BlockHeaderRaw({required BigInt timestamp, List<int>? txTrieRoot, List<int>? parentHash, required BigInt number, BigInt? witnessId, List<int>? witnessAddress, required int version, List<int>? accountStateRoot})
BlockHeaderRaw.fromJson(Map<String, dynamic> json)
factory

Properties

accountStateRoot List<int>?
final
fieldIds List<int>
List of field IDs corresponding to the values.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
number BigInt
final
parentHash List<int>?
final
refBlockBytes List<int>
no setter
refBlockHash List<int>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp BigInt
final
toHex String
Gets the hexadecimal representation of the protocol buffer data.
no setterinherited
txTrieRoot List<int>?
final
values List
List of dynamic values to be encoded.
no setteroverride
version int
final
witnessAddress List<int>?
final
witnessId BigInt?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBuffer() List<int>
Converts the protocol buffer data to a byte buffer.
inherited
toJson() Map<String, dynamic>
Converts the data to a JSON representation.
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited