⚠️Blast API (blastapi.io) ends Oct 31. Migrate to Dwellir and skip Alchemy's expensive compute units.
Switch Today →
Skip to main content

ledger_info

Endpoint

GET /v1

Response

{
"chain_id": 1,
"epoch": "string",
"ledger_version": "string",
"oldest_ledger_version": "string",
"ledger_timestamp": "string",
"block_height": "string",
"oldest_block_height": "string",
"node_role": "fullnode|validator|..."
}

Example

curl -s "https://api-aptos-mainnet.n.dwellir.com/YOUR_API_KEY/v1"