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
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.