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
hashRequiredstring
The hash of the block to fetch.
includeBodyRequiredboolean
Whether to include the transactions in the block.
Block data successfully retrieved