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 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
-
getter/setter pair
- baseReserveInStroops ↔ int
-
getter/setter pair
- closedAt ↔ String
-
getter/setter pair
- failedTransactionCount ↔ int
-
getter/setter pair
- feePool ↔ String
-
getter/setter pair
- hash ↔ String
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerXdr ↔ String
-
getter/setter pair
- id ↔ String
-
getter/setter pair
- links ↔ LedgerResponseLinks
-
getter/setter pair
- maxTxSetSize ↔ int
-
getter/setter pair
- operationCount ↔ int
-
getter/setter pair
- pagingToken ↔ String
-
getter/setter pair
- prevHash ↔ String
-
getter/setter pair
- protocolVersion ↔ int
-
getter/setter pair
- rateLimitLimit ↔ int?
-
getter/setter pairinherited
- rateLimitRemaining ↔ int?
-
getter/setter pairinherited
- rateLimitReset ↔ int?
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sequence ↔ int
-
getter/setter pair
- successfulTransactionCount ↔ int
-
getter/setter pair
- totalCoins ↔ String
-
getter/setter pair
- txSetOperationCount ↔ int
-
getter/setter pair
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