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


rbtc documentation built on Oct. 20, 2024, 5:06 p.m.

Related to txfee in rbtc...