Class LedgerEntity
A ledger is a block of transactions and shared state data.
It has a unique header that describes its contents using cryptographic hashes.
Inherited Members
Namespace: Xrpl.Models.Ledger
Assembly: Xrpl.dll
Syntax
public class LedgerEntity : BaseLedgerEntity
Properties
| Improve this Doc View SourceAccountHash
The SHA-512Half of this ledger's state tree information.
Declaration
public string AccountHash { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Accounts
Declaration
public dynamic[] Accounts { get; set; }
Property Value
Type | Description |
---|---|
System.Object[] |
CloseTime
The approximate time this ledger version closed,
as the number of seconds since the Ripple Epoch of 2000-01-01 00:00:00.
This value is rounded based on the close_time_resolution.
Declaration
public DateTime CloseTime { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
CloseTimeHuman
The approximate time this ledger was closed, in human-readable format.
Always uses the UTC time zone.
Declaration
public string CloseTimeHuman { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CloseTimeResolution
An integer in the range [2,120] indicating the maximum number of seconds by which the close_time could be rounded.
Declaration
public int CloseTimeResolution { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
LedgerHash
The SHA-512Half of this ledger version.
This serves as a unique identifier for this ledger and all its contents.
Declaration
public string LedgerHash { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LedgerIndex
The ledger index of the ledger.
Some API methods display this as a quoted integer; some display it as a native JSON number.
Declaration
public string LedgerIndex { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ParentHash
Unique identifying hash of the ledger that came immediately before this one
Declaration
public string ParentHash { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TotalCoins
Total number of XRP drops in the network, as a quoted integer.
Declaration
public string TotalCoins { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TransactionHash
Hash of the transaction information included in this ledger, as hex.
Declaration
public string TransactionHash { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Transactions
Transactions applied in this ledger version.
By default, members are the transactions' identifying Hash strings.
If the request specified expand as true,
members are full representations of the transactions instead,
in either JSON or binary depending on whether the request specified binary as true.
Declaration
public List<HashOrTransaction> Transactions { get; set; }
Property Value
Type | Description |
---|---|
List<HashOrTransaction> |