blockattime: Block height at time

Description Usage Arguments Value Author(s) See Also

View source: R/UtilFuncs.R

Description

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

Usage

1
blockattime(con, targetdate)

Arguments

con

CONRPC, configuration object.

targetdate

POSIXct, the date/time of closest block heights.

Value

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

Author(s)

Bernhard Pfaff

See Also

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


rbch documentation built on Jan. 11, 2022, 1:06 a.m.

Related to blockattime in rbch...