Get a block hash by height.
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
Block hash at the requested height.
Bad Request
Unauthorized. Returned when the api-key header is missing, empty, or not accepted by the NOWNodes gateway. The body is plain text.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Unprocessable Entity. Returned by the NOWNodes gateway for requests it accepts but cannot process. The body is plain text.
Internal Server Error
Service Unavailable
Public API error.