Blockchain Data

Access blockchain state and history

Core blockchain data endpoints for querying blocks, transactions, chain statistics, and blockchain state.

Get blockchain statistics

get
/api/chain/stats

Retrieves current blockchain statistics including height, transaction counts, and network metrics.

Responses
200

Chain statistics retrieved successfully

application/json
get
/api/chain/stats
200

Chain statistics retrieved successfully

Get chain tip

get
/api/chain/tip

Retrieves the current tip (latest block) of the blockchain

Responses
200

Chain tip retrieved successfully

application/json
get
/api/chain/tip
200

Chain tip retrieved successfully

Get entries by height

get
/api/chain/height/{height}

Retrieves all blockchain entries at a specific height

Path parameters
heightintegerRequired

Blockchain height to query

Example: 12345
Responses
200

Entries retrieved successfully

application/json
get
/api/chain/height/{height}
cURL
200

Entries retrieved successfully

Get entries by height with transactions

get
/api/chain/height_with_txs/{height}

Retrieves blockchain entries at a specific height including all transactions

Path parameters
heightintegerRequired

Blockchain height to query

Example: 12345
Responses
200

Entries with transactions retrieved successfully

application/json
get
/api/chain/height_with_txs/{height}
200

Entries with transactions retrieved successfully