utxoage {rbch}R 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()


[Package rbch version 0.1-1 Index]