Get ledger info
Get the latest ledger information, including data such as chain ID, role type, ledger versions, epoch, etc.
Last updated
Was this helpful?
Was this helpful?
// Request
curl -X GET -H 'Content-Type: application/json' https://aptos.blockpi.network/aptos/v1/your_api_key/v1/
// Result
{
"chain_id": 1,
"epoch": "487",
"ledger_version": "36258508",
"oldest_ledger_version": "0",
"ledger_timestamp": "1669096800308226",
"node_role": "full_node",
"oldest_block_height": "0",
"block_height": "11667199",
"git_hash": "3b12b747b53a0dc610b0ea960459bb834a940852"
}