getblockhash Method

Returns the hash value of the corresponding block based on the specified index.

Parameter Description

index: Block index (block height)

Example

Request body:

{
   "jsonrpc": "2.0",
   "method": "getblockhash",
   "params": [10000],
   "id": 1
}

Response body:

{
   "jsonrpc": "2.0",
   "id": 1,
   "result": "0xdf17b40c5627a45e83d61b286a6d6d14859136621760d0a5b58dd59d18fd53d4"
}