A web based interface to the Bitcoin API JSON-RPC

Command: getbestblockhash

The getbestblockhash RPC returns the header hash of the most recent block on the best block chain.

Parameters: none
Result—hash of the tip from the best block chain

{
	"result": "000000000000000000074512c8c18ea52d32eb4b9f23ea35b86df9a8a99817c1",
	"error": null,
	"id": null
}
getbestblockhash

Returns the hash of the best (tip) block in the longest blockchain.

Result:
"hex"      (string) the block hash hex encoded

Examples:
> bitcoin-cli getbestblockhash 
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getbestblockhash", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/