amberdata_blockchain_metrics {cryptotrackr}R Documentation

amberdata_blockchain_metrics

Description

amberdata_blockchain_metrics

Usage

amberdata_blockchain_metrics(
  api_key,
  blockchain_id = "ethereum-mainnet",
  timeout_seconds = 60
)

Arguments

api_key

your Amberdata API key

blockchain_id

the id for the blockchain you wish to query. The default blockchain_id is "ethereum-mainnet".

timeout_seconds

seconds until the query times out. Default is 60.

Value

returns a list containing blockchain metrics for your specified blockchain_id.

Examples

## Not run: 
api_key <- "..."
metrics <- amberdata_blockchain_metrics(api_key)
## End(Not run)

[Package cryptotrackr version 1.3.3 Index]