/v1

Retrieves the latest information from the Aptos blockchain ledger, including the current chain ID, node role, latest and oldest ledger versions, epoch, block height, and more.

Response

The latest ledger information.
chain_idinteger or null
ID of the blockchain chain.
epochstring or null
Current epoch number.
ledger_versionstring or null
Latest ledger version.
oldest_ledger_versionstring or null

Earliest available ledger version (due to pruning).

ledger_timestampstring or null
Timestamp of the latest ledger version in microseconds.
node_rolestring or null
Role of this node in the network.
oldest_block_heightstring or null
Lowest block height available.
block_heightstring or null
Current block height.
git_hashstring or null
Git hash of the node build.