Skip to content
DMD coin

getbestblockhash

Blockchain command of DebitMyData Core 1.3.5.

getbestblockhash

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

"hex" (string) the block hash, hex-encoded
Terminal window
debitmydata-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:18557/