AccountBlock class
AccountBlock class represents an on chain Account Block
- Annotations
-
- @freezed
Constructors
-
AccountBlock({@BlockTypeConverter() required BlockType blockType, required Address address, required Address producer, required Address fromAddress, required Address toAddress, required Hash hash, required Hash sendBlockHash, required Hash previousHash, Hash? firstSnapshotHash, BigInt? firstSnapshotHeight, required int timestamp, BigInt? confirmations, @JsonKey(name: 'tokenId') required Token token, @JsonKey(readValue: _readTokenInfo) required TokenInfo tokenInfo, @JsonKey(readValue: _readAmount) required BigInt amount, required BigInt height, BigInt? fee, BigInt? difficulty, required BigInt quotaByStake, required BigInt totalQuota, Hash? vmLogHash, @NullableUint8ListBase64Converter() Uint8List? data, @NullableUint8ListBase64Converter() Uint8List? nonce, @NullableUint8ListBase64Converter() Uint8List? signature, @NullableUint8ListBase64Converter() Uint8List? publicKey, Hash? receiveBlockHash, BigInt? receiveBlockHeight, @Default([]) List<
AccountBlock> triggeredSendBlockList}) -
factory
-
AccountBlock.fromJson(Map<
String, dynamic> json) -
factory
Properties
- address → Address
-
no setterinherited
- amount → BigInt
-
no setterinherited
- blockType → BlockType
-
no setterinherited
- confirmations → BigInt?
-
no setterinherited
- confirmed → bool
-
no setter
-
copyWith
→ $AccountBlockCopyWith<
AccountBlock> -
no setterinherited
- data → Uint8List?
-
no setterinherited
- difficulty → BigInt?
-
no setterinherited
- fee → BigInt?
-
no setterinherited
- firstSnapshotHash → Hash?
-
no setterinherited
- firstSnapshotHeight → BigInt?
-
no setterinherited
- fromAddress → Address
-
no setterinherited
- hash → Hash
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → BigInt
-
no setterinherited
- nonce → Uint8List?
-
no setterinherited
- otherAddress → Address
-
no setter
- previousHash → Hash
-
no setterinherited
- producer → Address
-
no setterinherited
- publicKey → Uint8List?
-
no setterinherited
- quotaByStake → BigInt
-
no setterinherited
- receiveBlockHash → Hash?
-
no setterinherited
- receiveBlockHeight → BigInt?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sendBlockHash → Hash
-
no setterinherited
- signature → Uint8List?
-
no setterinherited
- timestamp → int
-
no setterinherited
- toAddress → Address
-
no setterinherited
- token → Token
-
no setterinherited
- tokenInfo → TokenInfo
-
no setterinherited
- totalQuota → BigInt
-
no setterinherited
-
triggeredSendBlockList
→ List<
AccountBlock> -
no setterinherited
- value → Decimal
-
latefinal
- vmLogHash → Hash?
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited