API Reference

eth_getTransactionCount

Returns the number of transactions sent from an address.

Request Parameters

  • ADDRESS [required] - a string representing the address (20 bytes) to check for transaction count for
  • BLOCK PARAMETER [required] - hexadecimal block number, or the string "latest", "earliest" or "pending".

Response

Returns the number of transactions sent from an address.

Result Fields

  • TRANSACTION COUNT - a hex code of the integer representing the number of transactions sent from this address.

Examples

Example Responses
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0x1b"
}
Language
Click Try It! to start a request and see the response here!