LedgerResponse class

Represents ledger response received from the horizon server. Each ledger stores the state of the network at a point in time and contains all the changes - transactions, operations, effects, etc. - to that state. See: Ledger documentation

Inheritance

Constructors

LedgerResponse(int sequence, String hash, String id, String pagingToken, String prevHash, int successfulTransactionCount, int failedTransactionCount, int operationCount, int txSetOperationCount, String closedAt, String totalCoins, String feePool, int baseFeeInStroops, int baseReserveInStroops, int maxTxSetSize, int protocolVersion, String headerXdr, LedgerResponseLinks links)
LedgerResponse.fromJson(Map<String, dynamic> json)
factory

Properties

baseFeeInStroops int
read / write
baseReserveInStroops int
read / write
closedAt String
read / write
failedTransactionCount int
read / write
feePool String
read / write
hash String
read / write
hashCode int
The hash code for this object.
read-onlyinherited
headerXdr String
read / write
id String
read / write
read / write
maxTxSetSize int
read / write
operationCount int
read / write
pagingToken String
read / write
prevHash String
read / write
protocolVersion int
read / write
rateLimitLimit int?
read / writeinherited
rateLimitRemaining int?
read / writeinherited
rateLimitReset int?
read / writeinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
sequence int
read / write
successfulTransactionCount int
read / write
totalCoins String
read / write
txSetOperationCount int
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setHeaders(Map<String, String> headers) → void
inherited
toString() String
A string representation of this object.
inherited

Operators

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