Skip to main content

getdifficulty RPC Method

Loading...

Updated on
Apr 30, 2025

getdifficulty RPC Method

Parameters

This method does not accept any parameters

Returns

result
Loading...
error
Loading...
Request
1
curl https://docs-demo.btc.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"id": 1, "jsonrpc": "2.0", "method": "getdifficulty" }'
5
Response
1
{
2
"result": 123234387977050.9,
3
"error": null,
4
"id": null
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free