GET /api/chain/:slug/block?zeqond=N
Return the audit-log row at the given Zeqond. optionalAuth.
Query
| Param | Type | Required | Notes |
|---|---|---|---|
zeqond | integer | yes | Non-negative; matches audit_log.zeqondNumber. |
Response — 200
{
"ok": true,
"block": {
"id": "1234",
"originId": "zeq-dev:my-iot-fleet",
"zeqondNumber": "2287439213",
"stateHash": "0123…",
"prevHash": "fedc…",
"transitionType": "event",
"transitionId": "9b1c-…uuid",
"proofDigest": null,
"zspEnvelope": null,
"createdAt": "2026-04-28T01:49:13.213Z"
}
}
id and zeqondNumber are stringified for JSON safety (BigInt).
Errors
| Status | error | Cause |
|---|---|---|
400 | invalid_request | zeqond not a non-negative integer |
404 | no_block_at_zeqond | no row at that Zeqond |
403 | forbidden | private machine, no auth |
Curl
curl -sS "https://zeqapi.com/api/chain/my-iot-fleet/block?zeqond=2287439213"