Package-level declarations

Types

Link copied to clipboard
data class LedgerBlock(val height: ULong, val hash: String, val timestampMicros: ULong, val firstVersion: ULong, val lastVersion: ULong)

Block identity and inclusive transaction-version range returned by a fullnode.

Link copied to clipboard
interface LedgerService

Read-only ledger operations exposed as client.ledger.

Link copied to clipboard
data class LedgerState(val chainId: ChainId, val epoch: ULong, val version: ULong, val oldestVersion: ULong, val timestampMicros: ULong, val nodeRole: String, val oldestBlockHeight: ULong, val blockHeight: ULong, val gitHash: String?, val encryptionKey: ByteString?)

Current fullnode ledger state with every Aptos u64 represented losslessly.