blockattime: Block height at time

View source: R/UtilFuncs.R

blockattimeR Documentation

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)

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


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

Related to blockattime in rbtc...