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
Constructors
-
LedgerResponse(int sequence,
String hash, String pagingToken, String prevHash, int successfulTransactionCount, int failedTransactionCount, int operationCount, int txSetOperationCount, String closedAt, String totalCoins, String feePool, String baseFeeInStroops, String baseReserve, String baseReserveInStroops, int maxTxSetSize, int protocolVersion, String headerXdr, LedgerResponseLinks links ) -
LedgerResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
- baseFeeInStroops ↔ String
-
read / write
- baseReserve ↔ String
-
read / write
- baseReserveInStroops ↔ String
-
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-only, inherited
- headerXdr ↔ String
-
read / write
- links ↔ LedgerResponseLinks
-
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 / write, inherited
- rateLimitRemaining ↔ int
-
read / write, inherited
- rateLimitReset ↔ int
-
read / write, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- sequence ↔ int
-
read / write
- successfulTransactionCount ↔ int
-
read / write
- totalCoins ↔ String
-
read / write
- txSetOperationCount ↔ int
-
read / write
Methods
-
noSuchMethod(
Invocation invocation ) → dynamic -
Invoked when a non-existent 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