RPC Browser

Arguments

None

Help Content

getbestblockhash

Returns the hash of the best (tip) block in the most-work fully-validated chain.

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

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

Recent (5)

Blockchain (38)

Control (6)

Mining (7)

Network (14)

Rawtransactions (20)

Signer (1)

Util (8)

Zmq (1)