Skip to main content

getdifficulty RPC Method

Loading...

Updated on
Apr 29, 2026

getdifficulty RPC Method

Parameters

This method does not accept any parameters

Returns

result
integer
Loading...
error
string
Loading...
Request
1
curl -X POST "https://docs-demo.zec-mainnet.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "getdifficulty",
6
"params": [],
7
"id": 1
8
}'
1
curl -X POST "https://docs-demo.zec-mainnet.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "getdifficulty",
6
"params": [],
7
"id": 1
8
}'
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": 127318833.42730181
5
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": 127318833.42730181
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free