Get Nakamoto block by ID
Get 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}.
Path parameters
The block's ID hash (64-character hex string)
Response
The raw SIP-003-encoded block will be returned.
Changes
Changed in 14 of the 53 revisions of this API.14536
- ▲
for the
pathrequest parameterblock_id, the minLength was increased from0to64request-parameter-min-length-increased
- ▲
added the pattern
^[0-9a-f]{64}$to thepathrequest parameterblock_idrequest-parameter-pattern-added
- ●
for the
pathrequest parameterblock_id, the maxLength was set to64request-parameter-max-length-set
- ○
added the non-success response with the status
405response-non-success-status-added
- ▲
- ○
for the
pathrequest parameterblock_id, the minLength was decreased from64to0request-parameter-min-length-decreased
- ○
removed the pattern
^[0-9a-f]{64}$from thepathrequest parameterblock_idrequest-parameter-pattern-removed
- ○
removed the non-success response with the status
405response-non-success-status-removed
- ○
- ▲
for the
pathrequest parameterblock_id, the minLength was increased from0to64request-parameter-min-length-increased
- ▲
added the pattern
^[0-9a-f]{64}$to thepathrequest parameterblock_idrequest-parameter-pattern-added
- ●
for the
pathrequest parameterblock_id, the maxLength was set to64request-parameter-max-length-set
- ○
added the non-success response with the status
405response-non-success-status-added
- ▲
- ○
for the
pathrequest parameterblock_id, the minLength was decreased from64to0request-parameter-min-length-decreased
- ○
removed the pattern
^[0-9a-f]{64}$from thepathrequest parameterblock_idrequest-parameter-pattern-removed
- ○
removed the non-success response with the status
405response-non-success-status-removed
- ○
- ▲
for the
pathrequest parameterblock_id, the minLength was increased from0to64request-parameter-min-length-increased
- ▲
added the pattern
^[0-9a-f]{64}$to thepathrequest parameterblock_idrequest-parameter-pattern-added
- ●
for the
pathrequest parameterblock_id, the maxLength was set to64request-parameter-max-length-set
- ○
added the non-success response with the status
405response-non-success-status-added
- ▲
- ○
for the
pathrequest parameterblock_id, the minLength was decreased from64to0request-parameter-min-length-decreased
- ○
removed the pattern
^[0-9a-f]{64}$from thepathrequest parameterblock_idrequest-parameter-pattern-removed
- ○
removed the non-success response with the status
405response-non-success-status-removed
- ○
- ▲
for the
pathrequest parameterblock_id, the minLength was increased from0to64request-parameter-min-length-increased
- ▲
added the pattern
^[0-9a-f]{64}$to thepathrequest parameterblock_idrequest-parameter-pattern-added
- ●
for the
pathrequest parameterblock_id, the maxLength was set to64request-parameter-max-length-set
- ○
added the non-success response with the status
405response-non-success-status-added
- ▲
- ○
for the
pathrequest parameterblock_id, the minLength was decreased from64to0request-parameter-min-length-decreased
- ○
removed the pattern
^[0-9a-f]{64}$from thepathrequest parameterblock_idrequest-parameter-pattern-removed
- ○
removed the non-success response with the status
405response-non-success-status-removed
- ○
- ▲
for the
pathrequest parameterblock_id, the minLength was increased from0to64request-parameter-min-length-increased
- ▲
added the pattern
^[0-9a-f]{64}$to thepathrequest parameterblock_idrequest-parameter-pattern-added
- ●
for the
pathrequest parameterblock_id, the maxLength was set to64request-parameter-max-length-set
- ○
added the non-success response with the status
405response-non-success-status-added
- ▲
- ▲
removed the media type
application/text-plainfor the response with the status404response-media-type-removed
- ○
api operation id
get_block_v3removed and replaced withgetNakamotoBlockByIdapi-operation-id-removed
- ○
added the media type
text/plainfor the response with the status404response-media-type-added
- ○
added the non-success response with the status
400response-non-success-status-added
- ○
added the non-success response with the status
500response-non-success-status-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲