v1

latestSwagger 2.0Open BSV License2026-07-177164113.9 KB
block

Get a block by hash in JSON format.

Returns block data with the next block hash.

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

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