GET /explorer/batches/{batch_number}
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/lighter/explorer/batches/{batch_number}Cache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeDetailed ZK batch record including L1 commit/verify tx hashes and state roots.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
batch_number | path | int | required | ZK batch number. example: 277324 |
Response
type: object
data key: blocks
pagination: none
sample: {
"batch_number": "int",
"updated_at": "str",
"batch_details": "object",
"blocks": "array[1600]",
"status_changes": "array[2]"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/lighter/explorer/batches/277324"