Blocks
Get Stacks 2.x block by ID
Changed onGet 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}
Request
- Base URLhttp://localhost:20443
- URLhttp://localhost:20443/v2/blocks/{block_id}
- Authnone required
Path parameters
block_idstring required
Hex-encoded block ID (64 characters)
Response
The block data
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking