txfee: Compute fee of a transaction

View source: R/UtilFuncs.R

txfeeR Documentation

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)

Arguments

con

CONRPC, configuration object.

txid

character, the id of the transaction.

Value

numeric

Author(s)

Bernhard Pfaff

See Also

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


rbch documentation built on Sept. 28, 2024, 1:07 a.m.

Related to txfee in rbch...