pulsechain.box
eth

eth_getTransactionCount

Returns the number of transactions sent from an address (the account nonce). This value is used to determine the next valid nonce when constructing a new transaction.

Returns the number of transactions sent from an address (the account nonce). This value is used to determine the next valid nonce when constructing a new transaction.

Parameters

#TypeDescription
1stringThe address to query (20 bytes).
2stringBlock number as a hex string, or a block tag ("latest", "earliest", "pending").

Returns

string -- The number of transactions sent from the address as a hexadecimal string.

Example

curl -s -X POST https://rpc.pulsechain.box \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "eth_getTransactionCount",
    "params": ["0x3693693693693693693693693693693693693693", "latest"],
    "id": 1
  }'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x0"
}
TRY IT

Notes

  • The nonce is a sequential counter starting from 0. Each outgoing transaction from an address increments the nonce by 1.
  • When sending a new transaction, set the nonce field to the value returned by this method with the "pending" block tag to account for transactions in the mempool.
  • As a full archive node, historical nonce values at any past block number are available.
  • Contract addresses also have nonces, which are incremented each time they deploy a new contract via CREATE.
Copyright © 2026 AvecdrA. Made with love.