Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 437 Bytes

getbestblockhash.md

File metadata and controls

30 lines (22 loc) · 437 Bytes

getbestblockhash Method

Return the hash of the latest block of the main chain.

Example

Request body:

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

Response body:

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

Response Description:

Result: The hash of the latest block of the main chain.