cc_blockchain_balance: cc_blockchain_balance

View source: R/cc_blockchain_balance.R

cc_blockchain_balanceR Documentation

cc_blockchain_balance

Description

historical balance for Bitcoin blockchain only. The output will be a tibble containing the total Bitcoin held and the number of wallet by different amounts range. In order to access to this endpoint a ⁠free api key is needed⁠.

Usage

cc_blockchain_balance(from = NULL, to = NULL, api_key = NULL)

Arguments

from

character or Date, the start date for importation.

to

character or Date, the end date for importation.

api_key

character

Details

The output of the function will be a tibble with 6 columns:

  • Date: the observation date.

  • Symbol: the symbol of interest.

  • From: the minimum amount of Bitcoin held by some wallets.

  • To: the maximum amount of Bitcoin held by some wallets.

  • Amount: the total number of Bitcoin held by wallets having a quantity of Bitcoin between From and To.

  • Wallets: the total number of Wallets having a quantity of Bitcoin between From and To.

Value

tibble

Examples


# Api key is required
## Not run: 
yourapikey <- "yourapikey"
cc_blockchain_balance(from = "2017-01-01",
                      to = "2023-01-01",
                      api_key = yourapikey)

## End(Not run)

beniamino98/cryptocompareR documentation built on June 19, 2024, 12:37 a.m.