getdifficulty RPC Method
Parameters
This method does not accept any parameters
Returns
result
number
Loading...
error
string
Loading...
id
integer
Loading...
Request
1curl https://docs-demo.bch-mainnet.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{"id": 1, "jsonrpc": "2.0", "method": "getdifficulty" }'5
1curl https://docs-demo.bch-mainnet.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": 618261255341.6232,3"error": null,4"id": 15}
1{2"result": 618261255341.6232,3"error": null,4"id": 15}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free