Skip to content
DMD coin

getblockcount

Blockchain command of DebitMyData Core 1.3.5.

getblockcount

Returns the height of the most-work fully-validated chain.
The genesis block has height 0.

n (numeric) The current block count
Terminal window
debitmydata-cli getblockcount
curl --user myusername --data-binary '{"jsonrpc": "2.0", "id": "curltest", "method": "getblockcount", "params": []}' -H 'content-type: application/json' http://127.0.0.1:18557/