tuweni / org.apache.tuweni.jsonrpc / JSONRPCClient / getBalance_latest

getBalance_latest

suspend fun getBalance_latest(address: Address): UInt256 (source)

Gets the account balance.

Parameters

tx - the transaction object to send

Exceptions

ClientRequestException - if the request is rejected

ConnectException - if it cannot dial the remote client

Return
the hash of the transaction, or an empty string if the hash is not available yet.