erc20_balance: Get ERC20 token balances

Description Usage Arguments Warning

View source: R/erc20_balance.R

Description

Get ERC20 token balance for a specific token, at a specific block.

Usage

1
erc20_balance(address, block = "latest", api_key, quiet = FALSE)

Arguments

address

Character. A single Ethereum contract address as a character string (40 hexadecimal characters prepended by '0x').

block

Either 'latest' or a number giving the block of interest. Default = 'latest'.

api_key

An Etherscan API key.

quiet

Logical. Suppress progress messages? Default = FALSE.

Warning

As per the Etherscan documentation, the Etherscan Ethereum Developer APIs are provided as a community service and without warranty, so please just use what you need and no more. They support both GET/POST requests and a rate limit of 5 requests/sec.


dapped/eth documentation built on Oct. 23, 2021, 4:42 a.m.