Learn R Programming

rbtc (version 0.1-7)

blockattime: Block height at time

Description

This function returns the block heights closest to a provided date/time (time zone is GMT).

Usage

blockattime(con, targetdate)

Value

data.frame: the heights, the times and the time differences (in minutes) to the provided date/time.

Arguments

con

CONRPC, configuration object.

targetdate

POSIXct, the date/time of closest block heights.

Author

Bernhard Pfaff

See Also

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