v1

latestOpenAPI 3.0.02026-07-1731029.3 KB
Blockchain

Get block by hash

Retrieves a block by its hash from the specified channel.

get/{channelName}/qscc/getBlockByHash

Path parameters

channelNamestring required
Example:mainchannel

Name of the channel.

Query parameters

hashstring required
Example:dbd2b14fb3d61b7aeac3add76f99cd9b47850c7c95ca5e489696a6b543fc6b2d

The hash of the block to be retrieved.

Response

Successful response

object required