eth_getTransactionCount
Returns the number of transactions sent from an address. This method uses 80 credits from your daily balance.
Parameters
address: [Required] A string representing the address (20 bytes).block parameter: [Required] A hexadecimal block number, or one of the string tagslatest,earliest,pending,safe, orfinalized. See the default block parameter.
Returns
transaction count: A hexadecimal equivalent of the integer representing the number of transactions sent from the given address.
Example
Replace <YOUR-API-KEY> with an API key from your MetaMask Developer dashboard.