Get Block Hash by Height
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Retrieves the hash of a block at a specific height (block number). Block height starts at 0 for the genesis block and increments by 1 for each subsequent block.
Body
application/json
jsonrpcstringrequiredThe JSON-RPC protocol version. Must be "2.0" for JSON-RPC 2.0 specification compliance.
methodstringrequiredThe RPC method name. For this operation, it must be "getblockhash".
paramsArray<integer>requiredAn array containing a single parameter: the block height (index). Block height is a zero-based integer index.
idintegerrequiredA unique identifier for the request, used to correlate the response with the request.
Response
200OK
Successful response containing the block hash.