Get Nakamoto block by ID
Changed onGet a specific Nakamoto block (Stacks 3.x+) by its index block hash. This endpoint streams the block data from the Nakamoto staging blocks database where Nakamoto blocks are stored with additional metadata including tenure information.
Compatibility: Works with Nakamoto blocks only. For Stacks 2.x blocks, use /v2/blocks/{block_id}.
Request
- Base URLhttp://localhost:20443
- URLhttp://localhost:20443/v3/blocks/{block_id}
- Authnone required
Path parameters
The block's ID hash (64-character hex string)
Response
The raw SIP-003-encoded block will be returned.
Changes
- breaking
for the
pathrequest parameterblock_id, the minLength was increased from0to64 - breaking
added the pattern
^[0-9a-f]{64}$to thepathrequest parameterblock_id - warning
for the
pathrequest parameterblock_id, the maxLength was set to64 - info
added the non-success response with the status
- breaking
- info
for the
pathrequest parameterblock_id, the minLength was decreased from64to0 - info
removed the pattern
^[0-9a-f]{64}$from thepathrequest parameterblock_id - info
removed the non-success response with the status
- info