eth_getBalance: Returns the balance (in Wei) of the account at specified...

Description Usage Arguments Value Examples

View source: R/rpc-eth.R

Description

Returns the balance (in Wei) of the account at specified address.

Usage

1
eth_getBalance(address = NULL, number = "latest")

Arguments

address

A 20 byte (hexadecimal) Ethereum address.

number

An integer block number (as a hexidecimal string) or one of "earliest", "latest" or "pending".

Value

Integer.

Examples

1
2
3
4
5
## Not run: 
eth_getBalance()
eth_getBalance("0xD34DA389374CAAD1A048FBDC4569AAE33fD5a375")

## End(Not run)

DataWookie/ethereum documentation built on Feb. 1, 2020, 12:26 p.m.