Learn R Programming

rbch (version 0.1-2)

txfee: Compute fee of a transaction

Description

This function returns the implicit fee of a transaction, by computing the difference between the sum of its inputs and the sum of its outputs.

Usage

txfee(con, txid)

Value

numeric

Arguments

con

CONRPC, configuration object.

txid

character, the id of the transaction.

Author

Bernhard Pfaff

See Also

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