View source: R/cc_blockchain_balance.R
cc_blockchain_balance | R Documentation |
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
.
cc_blockchain_balance(from = NULL, to = NULL, api_key = NULL)
from |
character or Date, the start date for importation. |
to |
character or Date, the end date for importation. |
api_key |
character |
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.
tibble
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.