utxoage: Age of UTXOs

View source: R/UtilFuncs.R

utxoageR Documentation

Age of UTXOs

Description

This function returns a difftime object measuring the elapsed time(s) between the UTXO(s) in a transaction and its input(s) (previous UTXO(s)).

Usage

utxoage(con, txid, units = c("auto", "secs", "mins", "hours", "days", "weeks"))

Arguments

con

CONRPC, configuration object.

txid

character, the id of the transaction.

units

character, the time difference units; passed to difftime().

Value

difftime

Author(s)

Bernhard Pfaff

See Also

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


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

Related to utxoage in rbch...