getblocksubsidy - BitcoinZ 2.0.7 RPC

getblocksubsidy height

Returns block subsidy reward, taking into account the mining slow start and the community fee, of block at index provided.

Arguments:
1. height         (numeric, optional) The block height.  If not provided, defaults to the current height of the chain.

Result:
{
  "miner" : x.xxx           (numeric) The mining reward amount in BTCZ.
  "founders" : x.xxx        (numeric) The community fee amount in BTCZ.
}

Examples:
> bitcoinz-cli getblocksubsidy 1000
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockubsidy", "params": [1000] }' -H 'content-type: text/plain;' http://127.0.0.1:8032/




Control