covalent_portfolio {cryptotrackr}R Documentation

covalent_portfolio

Description

covalent_portfolio

Usage

covalent_portfolio(
  api_key,
  chain_id,
  address,
  csv = FALSE,
  timeout_seconds = 60
)

Arguments

api_key

your Covalent API key

chain_id

the string id of the chain for which you wish to check portfolio history.

address

the address you for which wish to get portfolio history.

csv

'TRUE' will return csv data parsed as a dataframe while 'FALSE' will return json data. The default value is 'FALSE'.

timeout_seconds

seconds until the query times out. Default is 60.

Value

returns either a list or a dataframe with portfolio history

Examples

## Not run: 
api_key <- "..."
portfolio <- covalent_portfolio(api_key, "1", "trevorfrench.eth", csv = FALSE)
## End(Not run)

[Package cryptotrackr version 1.3.3 Index]