⚡ Test Our Private Nodes of 40+ Blockchains just for $50!

coins coins coins coins
dcr
Decred (DCR)

Method: POST getstakedifficulty

dropdown

# getstakedifficulty example for Decred (DCR)

POST getstakedifficulty

Returns the proof-of-stake difficulty.

Parameters

-

Request

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


Response

{
    "error": null,
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": {
        "current": 195.42926468,
        "next": 195.42926468
    }
}