get_transactions_count: Get the total number of transactions in the given frequency

View source: R/get_transactions_count.R

get_transactions_countR Documentation

Get the total number of transactions in the given frequency

Description

Get the total number of transactions in the given frequency

Usage

get_transactions_count(
  asset = "BTC",
  since = NULL,
  until = NULL,
  frequency = "24h",
  api_key = Sys.getenv("GN_API_KEY"),
  as_date = TRUE
)

Arguments

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

Value

This function returns a tibble consisting of the date and transaction rates.

Examples

## Not run: 
x <- get_transactions_count()

## End(Not run)

James-Crypto-Research/GlassnodeR documentation built on Feb. 24, 2025, 3:21 p.m.