Skip to content
DMD coin

getdifficultyalgorithm

Blockchain command of DebitMyData Core 1.3.5.

getdifficultyalgorithm

Returns the current difficulty adjustment algorithm used to calculate the next block difficulty.

{ (json object)
"current_algorithm" : "str" (string) The active difficulty algorithm
}
Terminal window
debitmydata-cli getdifficultyalgorithm
curl --user myusername --data-binary '{"jsonrpc": "2.0", "id": "curltest", "method": "getdifficultyalgorithm", "params": []}' -H 'content-type: application/json' http://127.0.0.1:18557/