Home

Fetch a sequence of Nakamoto blocks in a tenure

GET
https://stacks.nownodes.io/v3/tenures/{block_id}

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Fetch a sequence of Nakamoto blocks in a tenure. The blocks will be served in order from highest to lowest. The blocks will be encoded in their SIP-003 wire format, and concatenated together.

Parameters

block_idstringrequiredpath

The tenure-start block ID of the tenure to query

stopstringquery

The block ID hash of the highest block in this tenure that is already known to the caller. Neither the corresponding block nor any of its ancestors will be served. This is used to fetch tenure blocks that the caller does not have.

Response

200OK

SIP-003-encoded Nakamoto blocks, concatenated together