v1

latestOpenAPI 3.1.0CC-02026-07-13565587.3 KB
Blocks

Fetch a sequence of Nakamoto blocks in a tenure

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.

get/v3/tenures/{block_id}

Path parameters

block_idstring required
Example:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef

The tenure-start block ID of the tenure to query (64-character hex string)

Query parameters

stopstring

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

SIP-003-encoded Nakamoto blocks, concatenated together