get_balance: Get Ethereum balance for an address

Description Usage Arguments Value Warning

View source: R/get_balance.R

Description

Get normal or internal transactions for an Ethereum address.

Usage

1
get_balance(address, api_key)

Arguments

address

Character. A character vector of one or more ethereum addresses (40 hexadecimal characters prepended by '0x').

api_key

An Etherscan API key (see Details).

Value

A numeric vector of balances (in ether units) corresponding to the elements of address.

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.