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.
Get the latest ledger information, including data such as chain ID, role type, ledger versions, epoch, etc.
Responses
200Success
400Error
application/json
403Error
application/json
500Error
application/json
503Error
application/json
get
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"
}
Last updated
Was this helpful?