dcr

Decred (DCR)

Method: POST getblocksubsidy

dropdown
POST

getblocksubsidy

Returns information regarding subsidy amounts.

Parameters

height - numeric

The block height.

voters - numeric

The number of voters.

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": "getblocksubsidy",
"params": [589761, 10],
"id": "getblock.io"}'


Response

{
    "error": null,
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": {
        "developer": 121217682,
        "pos": 727306090,
        "pow": 1454612192,
        "total": 2303135964
    }
}