Skip to main content

getdifficulty RPC Method

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

Updated on
Feb 03, 2026

Parameters

This method does not accept any parameters

Returns

result
number

The proof-of-work difficulty as a multiple of the minimum difficulty

error
object | null

(Optional) JSON-RPC error when the request failed; omitted or null on success

code
integer

Error code

message
string

Error message

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"result": 141668107417558.2,
4
"id": 1
5
}
1
{
2
"jsonrpc": "2.0",
3
"result": 141668107417558.2,
4
"id": 1
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free