getdifficulty - Okcash RPC

getdifficulty

Returns the proof-of-work / proof-of-stake difficulty as a multiple of the minimum difficulty.

Result:
proof-of-work: n.nnn       (numeric) the proof-of-work difficulty as a multiple of the minimum difficulty.
proof-of-stake: n.nnn       (numeric) the proof-of-stake difficulty as a multiple of the minimum difficulty.
search-interval: X

Examples:
> okcashd getdifficulty 
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getdifficulty", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:6969/


Okcash Core RPC documentation.

Okcash version: 5.0.0.3

OK RPC docs at:Github