get_addresses: #' Get all addresses statistics during the period

View source: R/addresses.R

get_addressesR Documentation

#' Get all addresses statistics during the period

Description

#' Get all addresses statistics during the period

Usage

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

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

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

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

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

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

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

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

Arguments

asset

Asset to examine (see glassnode api docs for a list)

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

return a tibble with the date and the addresses

Examples

## Not run: 
x <- get_addresses()

## End(Not run)

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