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

Changes

Changed in 15 of the 53 revisions of this API.221468

  • 30468ca2533f424See the full diff
    • for the path request parameter block_id, the minLength was increased from 0 to 64

      request-parameter-min-length-increased

    • for the query request parameter stop, the minLength was increased from 0 to 64

      request-parameter-min-length-increased

    • added the pattern ^[0-9a-f]{64}$ to the path request parameter block_id

      request-parameter-pattern-added

    • added the pattern ^[0-9a-f]{64}$ to the query request parameter stop

      request-parameter-pattern-added

    • for the path request parameter block_id, the maxLength was set to 64

      request-parameter-max-length-set

    • for the query request parameter stop, the maxLength was set to 64

      request-parameter-max-length-set

    • added the non-success response with the status 400

      response-non-success-status-added

    • added the non-success response with the status 404

      response-non-success-status-added

    • added the non-success response with the status 405

      response-non-success-status-added

    • added the non-success response with the status 500

      response-non-success-status-added

    • for the path request parameter block_id, the minLength was decreased from 64 to 0

      request-parameter-min-length-decreased

    • for the query request parameter stop, the minLength was decreased from 64 to 0

      request-parameter-min-length-decreased

    • removed the pattern ^[0-9a-f]{64}$ from the path request parameter block_id

      request-parameter-pattern-removed

    • removed the pattern ^[0-9a-f]{64}$ from the query request parameter stop

      request-parameter-pattern-removed

    • removed the non-success response with the status 400

      response-non-success-status-removed

    • removed the non-success response with the status 404

      response-non-success-status-removed

    • removed the non-success response with the status 405

      response-non-success-status-removed

    • removed the non-success response with the status 500

      response-non-success-status-removed

  • eb2153a4a3ad424See the full diff
    • for the path request parameter block_id, the minLength was increased from 0 to 64

      request-parameter-min-length-increased

    • for the query request parameter stop, the minLength was increased from 0 to 64

      request-parameter-min-length-increased

    • added the pattern ^[0-9a-f]{64}$ to the path request parameter block_id

      request-parameter-pattern-added

    • added the pattern ^[0-9a-f]{64}$ to the query request parameter stop

      request-parameter-pattern-added

    • for the path request parameter block_id, the maxLength was set to 64

      request-parameter-max-length-set

    • for the query request parameter stop, the maxLength was set to 64

      request-parameter-max-length-set

    • added the non-success response with the status 400

      response-non-success-status-added

    • added the non-success response with the status 404

      response-non-success-status-added

    • added the non-success response with the status 405

      response-non-success-status-added

    • added the non-success response with the status 500

      response-non-success-status-added

    • for the path request parameter block_id, the minLength was decreased from 64 to 0

      request-parameter-min-length-decreased

    • for the query request parameter stop, the minLength was decreased from 64 to 0

      request-parameter-min-length-decreased

    • removed the pattern ^[0-9a-f]{64}$ from the path request parameter block_id

      request-parameter-pattern-removed

    • removed the pattern ^[0-9a-f]{64}$ from the query request parameter stop

      request-parameter-pattern-removed

    • removed the non-success response with the status 400

      response-non-success-status-removed

    • removed the non-success response with the status 404

      response-non-success-status-removed

    • removed the non-success response with the status 405

      response-non-success-status-removed

    • removed the non-success response with the status 500

      response-non-success-status-removed

  • 97e7080a8130424See the full diff
    • for the path request parameter block_id, the minLength was increased from 0 to 64

      request-parameter-min-length-increased

    • for the query request parameter stop, the minLength was increased from 0 to 64

      request-parameter-min-length-increased

    • added the pattern ^[0-9a-f]{64}$ to the path request parameter block_id

      request-parameter-pattern-added

    • added the pattern ^[0-9a-f]{64}$ to the query request parameter stop

      request-parameter-pattern-added

    • for the path request parameter block_id, the maxLength was set to 64

      request-parameter-max-length-set

    • for the query request parameter stop, the maxLength was set to 64

      request-parameter-max-length-set

    • added the non-success response with the status 400

      response-non-success-status-added

    • added the non-success response with the status 404

      response-non-success-status-added

    • added the non-success response with the status 405

      response-non-success-status-added

    • added the non-success response with the status 500

      response-non-success-status-added

    • for the path request parameter block_id, the minLength was decreased from 64 to 0

      request-parameter-min-length-decreased

    • for the query request parameter stop, the minLength was decreased from 64 to 0

      request-parameter-min-length-decreased

    • removed the pattern ^[0-9a-f]{64}$ from the path request parameter block_id

      request-parameter-pattern-removed

    • removed the pattern ^[0-9a-f]{64}$ from the query request parameter stop

      request-parameter-pattern-removed

    • removed the non-success response with the status 400

      response-non-success-status-removed

    • removed the non-success response with the status 404

      response-non-success-status-removed

    • removed the non-success response with the status 405

      response-non-success-status-removed

    • removed the non-success response with the status 500

      response-non-success-status-removed

  • 68660d89e56f424See the full diff
    • for the path request parameter block_id, the minLength was increased from 0 to 64

      request-parameter-min-length-increased

    • for the query request parameter stop, the minLength was increased from 0 to 64

      request-parameter-min-length-increased

    • added the pattern ^[0-9a-f]{64}$ to the path request parameter block_id

      request-parameter-pattern-added

    • added the pattern ^[0-9a-f]{64}$ to the query request parameter stop

      request-parameter-pattern-added

    • for the path request parameter block_id, the maxLength was set to 64

      request-parameter-max-length-set

    • for the query request parameter stop, the maxLength was set to 64

      request-parameter-max-length-set

    • added the non-success response with the status 400

      response-non-success-status-added

    • added the non-success response with the status 404

      response-non-success-status-added

    • added the non-success response with the status 405

      response-non-success-status-added

    • added the non-success response with the status 500

      response-non-success-status-added

    • for the path request parameter block_id, the minLength was decreased from 64 to 0

      request-parameter-min-length-decreased

    • for the query request parameter stop, the minLength was decreased from 64 to 0

      request-parameter-min-length-decreased

    • removed the pattern ^[0-9a-f]{64}$ from the path request parameter block_id

      request-parameter-pattern-removed

    • removed the pattern ^[0-9a-f]{64}$ from the query request parameter stop

      request-parameter-pattern-removed

    • removed the non-success response with the status 400

      response-non-success-status-removed

    • removed the non-success response with the status 404

      response-non-success-status-removed

    • removed the non-success response with the status 405

      response-non-success-status-removed

    • removed the non-success response with the status 500

      response-non-success-status-removed

  • f29c78384efe421See the full diff
    • for the path request parameter block_id, the minLength was increased from 0 to 64

      request-parameter-min-length-increased

    • for the query request parameter stop, the minLength was increased from 0 to 64

      request-parameter-min-length-increased

    • added the pattern ^[0-9a-f]{64}$ to the path request parameter block_id

      request-parameter-pattern-added

    • added the pattern ^[0-9a-f]{64}$ to the query request parameter stop

      request-parameter-pattern-added

    • for the path request parameter block_id, the maxLength was set to 64

      request-parameter-max-length-set

    • for the query request parameter stop, the maxLength was set to 64

      request-parameter-max-length-set

    • added the non-success response with the status 405

      response-non-success-status-added

    • added the non-success response with the status 400

      response-non-success-status-added

    • added the non-success response with the status 404

      response-non-success-status-added

    • added the non-success response with the status 500

      response-non-success-status-added