50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

rbtc (version 0.1-5)

bkfee: Compute fee in a block

Description

This function returns the fee of the coinbase transaction. Hereby, the mining reward has been deducted. Initially, the mining reward was 50 BTC and is halved every 210,000 blocks.

Usage

bkfee(con, height)

Arguments

con

CONRPC, configuration object.

height

integer, the height of the block.

Value

numeric

See Also

Other UtilityFuncs: blockattime, blockstats, date2int, int2date, intMaxDay, intMinDay, intRangeDay, intRangePeriod, timeofblock, txfee, txids, txinids, txstats, utxoage, utxotype, utxovalue