ETHService¶
ETHService
handles Ethereum-related requests that aren’t contract calls.
For contract calls, see ContractService.
getBalance¶
eth.getBalance(address)
Returns the ETH balance of an address. Queries the main chain, not the plasma chain.
Parameters¶
address
-string
: Address to query.
Returns¶
Promise<BigNum>
: The balance of the address.