block

Get a block by hash in JSON format.

Returns block data with the next block hash.

get/api/v1/block/{hash}/json

Request

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

Path parameters

hashstring required

Block, transaction, or subtree hash in hexadecimal format

Response

Block with next block hash

heightinteger
idinteger
nextblockinteger[]

Hash is used in several of the bitcoin messages and common structures. It typically represents the double sha256 of data.

size_in_bytesinteger
transaction_countinteger

Changes

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