class Eth::Client

def get_nonce(address)

Returns:
  • (Integer) - the next nonce to be used.

Parameters:
  • address (Eth::Address) -- the address to get the nonce for.
def get_nonce(address)
  eth_get_transaction_count(address, "pending")["result"].to_i 16
end