Share your GetBlock experience with other devs and get 5M RPCs

banner image
zec

ZCash

ZEC

POST

GET

chevron-right

Last updated on January 1, 1970

3 min read

Method getblocksubsidy ZCash (ZEC)
connect with JSON-RPC protocol

getblocksubsidy

info-circle-fill

Returns block subsidy reward, taking into account the mining slow startand the founders reward, of block at index provided.

Parameters

height - numeric

Optional.

The block height. If not provided, defaults to the current height of the chain.

Request

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

Response

{
    "result": {
        "fundingstreams": [
            {
                "recipient": "Electric Coin Company",
                "specification": "https://zips.z.cash/zip-0214",
                "value": 0.21875,
                "valueZat": 21875000,
                "address": "t3cEUQFG3KYnFG6qYhPxSNgGi3HDjUPwC3J"
            },
            {
                "recipient": "Zcash Foundation",
                "specification": "https://zips.z.cash/zip-0214",
                "value": 0.15625,
                "valueZat": 15625000,
                "address": "t3dvVE3SQEi7kqNzwrfNePxZ1d4hUyztBA1"
            },
            {
                "recipient": "Major Grants",
                "specification": "https://zips.z.cash/zip-0214",
                "value": 0.25,
                "valueZat": 25000000,
                "address": "t3XyYW8yBFRuMnfvm5KLGFbEVz25kckZXym"
            }
        ],
        "miner": 2.5,
        "founders": 0
    },
    "error": null,
    "id": "getblock.io"
}
banner icon

Start Building with GetBlock RPCs for Free