NormalBlockV1 class
- Implemented types
Constructors
-
NormalBlockV1({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, List<
ITransaction> ? transactions})
Properties
- beneficiaryAddress ↔ Address
-
getter/setter pair
- blockHeaderReserved_1 → int
-
final
- 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
-
transactions
↔ List<
ITransaction> -
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) → NormalBlockV1 -
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
Static Properties
- BLOCK_TYPE → BlockType
-
final
Constants
- BLOCK_VERSION → const int
-
TYPE_HINTS
→ const Map<
String, String>