Get Ledger Info
Get the latest ledger information, including data such as chain ID, role type, ledger versions, epoch, etc.
This method will use 10 Compute Units.
Last updated
Was this helpful?
Get the latest ledger information, including data such as chain ID, role type, ledger versions, epoch, etc.
This method will use 10 Compute Units.
Last updated
Was this helpful?
Was this helpful?
GET /v1/<YOUR_API_KEY_HERE>/v1/ HTTP/1.1
Host: mainnet.aptos.validationcloud.io/v1/<YOUR_API_KEY_HERE>/v1
Accept: */*
{
"chain_id": 1,
"epoch": "32425224034",
"ledger_version": "32425224034",
"oldest_ledger_version": "32425224034",
"ledger_timestamp": "32425224034",
"node_role": "validator",
"oldest_block_height": "32425224034",
"block_height": "32425224034",
"git_hash": "text"
}