View source: R/get_transactions_rate.R
get_transactions_rate | R Documentation |
Get the total rate of transactions per second in the given frequency
get_transactions_rate(
asset = "BTC",
since = NULL,
until = NULL,
frequency = "24h",
api_key = Sys.getenv("GN_API_KEY"),
as_date = TRUE
)
asset |
The chain to examine. Limited to BTC, ETH, LTC |
since |
The start date |
until |
The end date |
frequency |
The frequency to examine: 1h,24h,10m,1w,1month |
api_key |
The api key. It looks in the env variable GN_API_KEY if not set |
as_date |
A logical to return a Date not a POSIXct object for daily or lower frequency |
This function returns a tibble consisting of the date and transaction rates.
## Not run:
x <- get_transactions_rate()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.