bitcoind.app
CommandsGuidesContact ↗
Home/Blockchain/getdifficulty
Blockchain

getdifficulty

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

Returns

numberThe current difficulty

Code Examples

curl --user myuser --data-binary '{"jsonrpc":"1.0","id":"1","method":"getdifficulty","params":[]}' -H 'content-type:text/plain;' http://127.0.0.1:8332/

Example Response

86388558925171.02
← Previous
getchaintxstats
Next →
getmempoolancestors

More Blockchain Commands

getbestblockhashgetblockgetblockchaininfogetblockcountgetblockfiltergetblockhash

bitcoind.app — Bitcoin Core RPC Reference

GuidesContact ↗