[#GetBlockSubsidy] = GetBlockSubsidy :mrdocs: Compute the block subsidy (newly created coins) for a block at a given height. == Synopsis Declared in `<validation.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:CAmount.adoc[CAmount] GetBlockSubsidy( int nHeight, xref:Consensus/Params.adoc[Consensus::Params] const& consensusParams); ---- == Return Value The block subsidy in satoshis. == Parameters [cols="1,4"] |=== | Name| Description | *nHeight* | Height of the block whose subsidy is being computed. | *consensusParams* | Consensus parameters, which define the halving interval. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#