LedgerInfo

@Serializable
data class LedgerInfo(val chainId: Long, val epoch: String, val ledgerVersion: String, val oldestLedgerVersion: String, val ledgerTimestamp: String, val nodeRole: String, val oldestBlockHeight: String, val blockHeight: String, val gitHash: String)

Constructors

Link copied to clipboard
constructor(chainId: Long, epoch: String, ledgerVersion: String, oldestLedgerVersion: String, ledgerTimestamp: String, nodeRole: String, oldestBlockHeight: String, blockHeight: String, gitHash: String)

Properties

Link copied to clipboard
@SerialName(value = "block_height")
val blockHeight: String
Link copied to clipboard
@SerialName(value = "chain_id")
val chainId: Long
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "git_hash")
val gitHash: String
Link copied to clipboard
@SerialName(value = "ledger_timestamp")
val ledgerTimestamp: String
Link copied to clipboard
@SerialName(value = "ledger_version")
val ledgerVersion: String
Link copied to clipboard
@SerialName(value = "node_role")
val nodeRole: String
Link copied to clipboard
@SerialName(value = "oldest_block_height")
val oldestBlockHeight: String
Link copied to clipboard
@SerialName(value = "oldest_ledger_version")
val oldestLedgerVersion: String