LedgerBounds class

LedgerBounds are Preconditions of a transaction per CAP-21

Constructors

LedgerBounds(int _minLedger, int _maxLedger)
Constructor _minLedger and _maxLedger are 64bit Unix timestamps.

Properties

hashCode int
The hash code for this object.
no setterinherited
maxLedger int
no setter
minLedger int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
toXdr() XdrLedgerBounds
Creates a XdrLedgerBounds object from this ledger bounds.

Operators

operator ==(Object o) bool
The equality operator.
override

Static Methods

fromXdr(XdrLedgerBounds ledgerBounds) LedgerBounds?
Creates a LedgerBounds instance from a ledgerBounds XdrLedgerBounds object.