This function returns the fee of the coinbase transaction. Hereby, the mining reward has been deducted. Initially, the mining reward was 50 BCH and is halved every 210,000 blocks.
bkfee(con, height)
numeric
CONRPC
, configuration object.
integer
, the height of the block.
Bernhard Pfaff
Other UtilityFuncs:
blockattime()
,
blockstats()
,
date2int()
,
int2date()
,
intMaxDay()
,
intMinDay()
,
intRangeDay()
,
intRangePeriod()
,
timeofblock()
,
txfee()
,
txids()
,
txinids()
,
txstats()
,
utxoage()
,
utxotype()
,
utxovalue()