Get a block hash by height.
GET
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns the block hash for a height on the backend main chain. Blockbook follows the backend main chain; after a rollback or reorg, height lookups resolve to the current main-chain block.
Load estimate: Low; indexed height-to-hash lookup.
Parameters
heightinteger>= 0requiredpathBlock height on the backend main chain.
Response
200OK
Block hash at the requested height.
401Unauthorized
Unauthorized: missing or invalid api-key header; plain-text body "Unknown API_key".
405Method Not Allowed
Method Not Allowed: gateway-level response for malformed or unsupported requests.
default
Public API error.