Skip to main content

v1 REST API Endpoint

Retrieve the latest ledger information, including data such as chain ID, role type, ledger versions, epoch, etc.

Updated on
Oct 4, 2023

v1 REST API Endpoint

Parameters

This method does not accept any parameters

Returns

chain_id
The chain ID
epoch
The current epoch number associated with the chain network
ledger_version
The ledger version that represents the blockchain state at a specific time
oldest_ledger_version
The version number of the oldest ledger available
ledger_timestamp
The timestamp associated with the ledger, indicating the time when the ledger was last updated
node_role
The role of the node. In this case, validator denotes that the node functions as a validator
oldest_block_height
The height of the oldest available block
block_height
The height of the block
git_hash
The git hash associated with the version control system of the blockchain network
Request
1
curl -X 'GET' 'https://docs-demo.aptos-mainnet.quiknode.pro/v1/' \
2
-H 'Content-Type: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free