Class LedgerInfo
- Namespace
- Aptos
- Assembly
- Aptos.dll
[Serializable]
public class LedgerInfo
- Inheritance
-
LedgerInfo
- Inherited Members
-
Constructors
LedgerInfo(byte, ulong, ulong, ulong, ulong, string, ulong, ulong, string)
public LedgerInfo(byte chainId, ulong epoch, ulong ledgerVersion, ulong oldestLedgerVersion, ulong ledgerTimestamp, string nodeRole, ulong oldestBlockHeight, ulong blockHeight, string gitHash)
Parameters
chainId
byte
epoch
ulong
ledgerVersion
ulong
oldestLedgerVersion
ulong
ledgerTimestamp
ulong
nodeRole
string
oldestBlockHeight
ulong
blockHeight
ulong
gitHash
string
Fields
BlockHeight
[JsonProperty("block_height")]
public ulong BlockHeight
Field Value
- ulong
ChainId
[JsonProperty("chain_id")]
public byte ChainId
Field Value
- byte
Epoch
[JsonProperty("epoch")]
public ulong Epoch
Field Value
- ulong
GitHash
[JsonProperty("git_hash")]
public string GitHash
Field Value
- string
LedgerTimestamp
[JsonProperty("ledger_timestamp")]
public ulong LedgerTimestamp
Field Value
- ulong
LedgerVersion
[JsonProperty("ledger_version")]
public ulong LedgerVersion
Field Value
- ulong
NodeRole
[JsonProperty("node_role")]
public string NodeRole
Field Value
- string
OldestLedgerVersion
[JsonProperty("oldest_ledger_version")]
public ulong OldestLedgerVersion
Field Value
- ulong
OldestblockHeight
[JsonProperty("oldest_block_height")]
public ulong OldestblockHeight
Field Value
- ulong