blocks

Get an array of header ids (hex encoded) for the given range of blockchain block heights. Returns a page of the whole list starting from `offset` and containing `limit` items.

get/blocks

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /blocks
  • Auth: none declared

Query parameters

limitinteger

The number of items in list to return

offsetinteger

The first block height to include in the list

Response

Array of header ids

string[] required

Array of header ids

Example response

[
  "8b7ae20a4acd23e3f1bf38671ce97103ad96d8f1c780b5e5e865e4873ae16337"
]

Changes

No recorded changes to this operation across all 9 revisions of this API.