cc_eth_staking: Staking Rate Historical Day

View source: R/cc_eth_staking.R

cc_eth_stakingR Documentation

Staking Rate Historical Day

Description

Ethereum staking interest rate, from when the Beacon chain was active.

Usage

cc_eth_staking(start = NULL, end = NULL, api_key = NULL)

Arguments

start

character or Date, the starting date for importation.

end

character or Date, the end date for importation.

api_key

character

Details

The Ether staking rate is powered by Attestant, a company dedicated to the business of staking. They provide a non-custodial Ethereum 2 managed staking service, giving customers the ability to stake their Ether using Attestant’s infrastructure while always retaining full control of their assets. You can only use this endpoint with a valid api_key. The Ether rate is generally updated daily at 11:00 am UTC for the previous day.

Value

tibble

Examples

# Api key is required
## Not run: 
yourapikey <- "yourapikey"
cc_eth_staking(start = "2022-01-01", end = "2023-01-01", api_key = yourapikey)
cc_eth_staking(start = "2021-01-01", end = "2022-01-01", api_key = yourapikey)
cc_eth_staking(start = "2023-01-01", end = "2023-01-19", api_key = yourapikey)

## End(Not run)


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