Last updated 11 months ago
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 .
10
The struct holding all data returned to the client by the index endpoint (i.e., GET "/"). Only for responding in JSON
GET /v1/<YOUR_API_KEY_HERE>/v1/ HTTP/1.1 Host: mainnet.aptos.validationcloud.io 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" }