getblockhash
POST
/{apiKey}
Returns the hash of the block at a given height (index) in the active Bitcoin blockchain.
Path Parameters
stringrequireddefaults to
docs-demoFor higher throughput, create your own API key
Request
integerrequired
The height of the block to retrieve the hash for.
Responses
200
The hash of the block at the specified height.
A 64-character hex string representing the block hash.
Was this page helpful?