/v1/

Get ledger info

Get the latest ledger information, including data such as chain ID, role type, ledger versions, epoch, etc.

Example

Request

curl --request GET \
  --url https://aptos-mainnet.blastapi.io/<project-id>/v1/ \
  --header 'Content-Type: application/json'

Result

{
  "chain_id": 1,
  "epoch": "176",
  "ledger_version": "14527564",
  "oldest_ledger_version": "0",
  "ledger_timestamp": "1666860694570540",
  "node_role": "full_node",
  "oldest_block_height": "0",
  "block_height": "3983662",
  "git_hash": "cf280b9a9013dddaeda359174b90236b60990533"
}

Last updated