Skip to content
DMD coin

getblockhash

Blockchain command of DebitMyData Core 1.3.5.

getblockhash height

Returns hash of block in best-block-chain at height provided.

1. height (numeric, required) The height index
"hex" (string) The block hash
Terminal window
debitmydata-cli getblockhash 1000
curl --user myusername --data-binary '{"jsonrpc": "2.0", "id": "curltest", "method": "getblockhash", "params": [1000]}' -H 'content-type: application/json' http://127.0.0.1:18557/