Skip to main content

getdifficulty RPC Method

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

Updated on
Oct 4, 2023

getdifficulty RPC Method

Parameters

This method does not accept any parameters

Returns

result
The proof-of-work difficulty as a multiple of the minimum difficulty
error
The error message, if any
Request
1
curl https://docs-demo.btc.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{ "method": "getdifficulty" }'
5
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free