get_supply_contracts: Get amount of a given asset is deposited in smart contracts

View source: R/get_supply_contracts.R

get_supply_contractsR Documentation

Get amount of a given asset is deposited in smart contracts

Description

This function returns the percentage (in decimal form) of all circulable supply of the asset that is deposited in a smart contract

Usage

get_supply_contracts(
  asset = "ETH",
  since = NULL,
  until = NULL,
  api_key = Sys.getenv("GN_API_KEY")
)

Arguments

asset

The asset to query. Default is ETH

since, until

A POSIX compatible date-time object. It's converted to a unix date number

api_key

The API key to use. By default it will check the API_KEY environmental variable

Value

a tidy data frame of data

Examples

## Not run: 
# Need a valid API key to run
x <- get_supply_contracts()

## End(Not run)

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