class Eth::Client
def get_balance(address)
-
(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
(Integer)
- the balance in Wei.
address
(Eth::Address
)
-- the address to get the balance for.
def get_balance(address) eth_get_balance(address)["result"].to_i 16 end