v1

latestOpenAPI 3.1.0CC-02026-07-13565587.3 KB
Blocks

Get Stacks 2.x block by ID

Get a specific Stacks 2.x era block by its block ID. This endpoint streams the block data from the filesystem storage where traditional Stacks blocks are stored as individual files.

Compatibility: Works with all Stacks 2.x blocks. For Nakamoto blocks (Stacks 3.x+), use /v3/blocks/{block_id}.

get/v2/blocks/{block_id}

Path parameters

block_idstring required

Hex-encoded block ID (64 characters)

Response

The block data