API referenceBlocks
Block Events
Last updated
Fetch the decoded chain events in one block (by numeric block_number or 0x block_hash), in natural order; ?limit (<=1000) / ?offset. Computed live from the first-party account_events D1 tier filtered by block_number (#1852); 200 with events:[] when cold/unknown.
Path Parameters
ref*string
Query Parameters
limit?integer
Range
1 <= value <= 1000offset?integer
Range
0 <= valueResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/blocks/string/events"{ "data": { "block_number": 5000000, "event_count": 1, "events": [ { "block_number": 5000000, "event_kind": "example" } ], "limit": 1, "offset": 1, "ref": "example", "schema_version": 1 }, "meta": { "artifact_path": "example", "cache": "short", "contract_version": "2026-06-29.1", "generated_at": "2026-06-01T00:00:00.000Z", "pagination": { "collection": "example", "cursor": 1, "limit": 1, "next_cursor": 1, "order": "asc", "returned": 1, "sort": "example", "total": 1 }, "published_at": "2026-06-01T00:00:00.000Z", "source": "live-cron-prober", "stale_contract": { "built_under": "example", "live": "example" } }, "ok": true, "schema_version": 1}Empty
{ "data": null, "error": { "code": "string", "message": "string" }, "meta": { "artifact_path": "string", "cache": "short", "contract_version": "string", "generated_at": "string", "pagination": { "collection": "string", "cursor": 0, "limit": 0, "next_cursor": 0, "order": "asc", "returned": 0, "sort": "string", "total": 0 }, "published_at": "2019-08-24T14:15:22Z", "source": "string", "stale_contract": { "built_under": "string", "live": "string" } }, "ok": false, "schema_version": 1}{ "data": null, "error": { "code": "string", "message": "string" }, "meta": { "artifact_path": "string", "cache": "short", "contract_version": "string", "generated_at": "string", "pagination": { "collection": "string", "cursor": 0, "limit": 0, "next_cursor": 0, "order": "asc", "returned": 0, "sort": "string", "total": 0 }, "published_at": "2019-08-24T14:15:22Z", "source": "string", "stale_contract": { "built_under": "string", "live": "string" } }, "ok": false, "schema_version": 1}{ "data": null, "error": { "code": "string", "message": "string" }, "meta": { "artifact_path": "string", "cache": "short", "contract_version": "string", "generated_at": "string", "pagination": { "collection": "string", "cursor": 0, "limit": 0, "next_cursor": 0, "order": "asc", "returned": 0, "sort": "string", "total": 0 }, "published_at": "2019-08-24T14:15:22Z", "source": "string", "stale_contract": { "built_under": "string", "live": "string" } }, "ok": false, "schema_version": 1}{ "data": null, "error": { "code": "string", "message": "string" }, "meta": { "artifact_path": "string", "cache": "short", "contract_version": "string", "generated_at": "string", "pagination": { "collection": "string", "cursor": 0, "limit": 0, "next_cursor": 0, "order": "asc", "returned": 0, "sort": "string", "total": 0 }, "published_at": "2019-08-24T14:15:22Z", "source": "string", "stale_contract": { "built_under": "string", "live": "string" } }, "ok": false, "schema_version": 1}