Learn R Programming

rbch (version 0.1-2)

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 BCH and is halved every 210,000 blocks.

Usage

bkfee(con, height)

Value

numeric

Arguments

con

CONRPC, configuration object.

height

integer, the height of the block.

Author

Bernhard Pfaff

See Also

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