txfee: Compute fee of a transaction

Description Usage Arguments Value Author(s) See Also

View source: R/UtilFuncs.R

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

1
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 Jan. 11, 2022, 1:06 a.m.

Related to txfee in rbch...