Block
Fetch a block by hash
Fetches a block given its hash from the Nimiq RPC. It has an option to include the transactions in the block, which defaults to false.
GET
/
getBlockByHash
/{hash}
/{includeBody}
Path Parameters
hash
Requiredstring
The hash of the block to fetch.
includeBody
Requiredboolean
Whether to include the transactions in the block.
Block data successfully retrieved