General
Get ledger info
Get the latest ledger information, including data such as chain ID, role type, ledger versions, epoch, etc.
get/
Request
- Base URLhttps://aptos.dev/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Example response
{
"epoch": "32425224034",
"ledger_version": "32425224034",
"oldest_ledger_version": "32425224034",
"ledger_timestamp": "32425224034",
"oldest_block_height": "32425224034",
"block_height": "32425224034"
}Changes
No recorded changes to this operation across all 2 revisions of this API.