StellarValue class

XDR StellarValue: the value SCP agrees on per ledger. Decoders built against older XDR fail on Protocol 30 ledgers because every ledger after the upgrade uses the signedMs / emptyTxSetMs arms (CAP-88).

Inheritance

Constructors

StellarValue({required List<int> txSetHash, required BigInt closeTime, required List<List<int>> upgrades, required StellarValueExt ext})
StellarValue.fromStruct(Map<String, dynamic> json)
factory

Properties

closeTime → BigInt
Whole-second close time (closeTimeMs ~/ 1000 for ms arms).
final
ext → StellarValueExt
Consensus extension arm.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
txSetHash → BuBytes
Transaction set hash of the ledger.
final
type → StellarValueType
The StellarValueType of ext.
no setter
upgrades → List<BuBytes>
Upgrade entries (at most 6 opaque values of at most 128 bytes each).
final

Methods

createLayout({String? property}) → Layout<Map<String, dynamic>>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
inherited
toLayoutStruct() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited
toXDR({String? property}) → BuBytes
inherited
toXDRBase64() → String
inherited
toXDRHex() → String
inherited

Operators

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

Static Methods

layout({String? property}) → Layout<Map<String, dynamic>>