etherscan_account_balance {cryptotrackr}R Documentation

etherscan_account_balance

Description

etherscan_account_balance

Usage

etherscan_account_balance(
  address,
  api_key,
  tag = "latest",
  timeout_seconds = 60
)

Arguments

address

the address for which you wish to retrieve the balance.

api_key

your Etherscan API key

tag

pre-defined block parameter, either earliest, pending or latest. Default is latest.

timeout_seconds

seconds until the query times out. Default is 60.

Value

returns the balance for the specified address

Examples

## Not run: 
address <- "0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae"
api_key <- "..."
account_balance <- etherscan_account_balance(address, api_key)
## End(Not run)

[Package cryptotrackr version 1.3.3 Index]