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": "000000000000000000c8f72ab64e5c1d2e2fd2715c387dce996e354e255409e3",
	"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/