Block class

Implemented types

Constructors

Block({Signature? signature, PublicKey? signerPublicKey, int? version, NetworkType? network, BlockType? type, Height? height, Timestamp? timestamp, Difficulty? difficulty, VrfProof? generationHashProof, Hash256? previousBlockHash, Hash256? transactionsHash, Hash256? receiptsHash, Hash256? stateHash, Address? beneficiaryAddress, BlockFeeMultiplier? feeMultiplier})

Properties

beneficiaryAddress Address
getter/setter pair
difficulty Difficulty
getter/setter pair
entityBodyReserved_1 int
final
feeMultiplier BlockFeeMultiplier
getter/setter pair
generationHashProof VrfProof
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height Height
getter/setter pair
network NetworkType
getter/setter pair
previousBlockHash Hash256
getter/setter pair
receiptsHash Hash256
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signature Signature
getter/setter pair
signerPublicKey PublicKey
getter/setter pair
size int
no setteroverride
stateHash Hash256
getter/setter pair
timestamp Timestamp
getter/setter pair
transactionsHash Hash256
getter/setter pair
type BlockType
getter/setter pair
verifiableEntityHeaderReserved_1 int
final
version int
getter/setter pair

Methods

deserialize(Uint8List payload) Block
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() Uint8List
override
sort() → void
toString() String
A string representation of this object.
override

Operators

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

Constants

TYPE_HINTS → const Map<String, String>