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": "0000000000000000000736f95a106fa43d15e765cffa575bbb9d684f2f0d371a",
	"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/