class Eth::Client

def get_balance(address)

Returns:
  • (Integer) - the balance in Wei.

Parameters:
  • address (Eth::Address) -- the address to get the balance for.
def get_balance(address)
  eth_get_balance(address)["result"].to_i 16
end