⚡ We welcome businesses to test our enterprise-grade service

Method: POST getdifficulty

dropdown

Method RPC getdifficulty example for Dash

POST getdifficulty

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

Parameters

-

Request

curl --location --request POST 'https://dash.getblock.io/mainnet/' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "getdifficulty",
"params": [],
"id": "getblock.io"}'


Response

{
    "error": null,
    "id": "getblock.io",
    "result": 103704145.924301
}