eth_getTransactionCount
Returns the number of transactions sent from an address.
Parameters
Address(string)requiredhex encoded address
Block(object)requiredBlock number, tag, or block hash
Returns
hex encoded unsigned integer
Example request
await provider.request({
method: "eth_getTransactionCount",
params: [
"0xc94770007dda54cF92009BFF0dE90c06F603a09f",
"latest"
]
});
Example response
{
"id": 1,
"jsonrpc": "2.0",
"result": "0x1"
}