tuweni / org.apache.tuweni.jsonrpc / JSONRPCClient / getTransactionCount_latest

getTransactionCount_latest

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

Gets the number of transactions sent from an address.

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.