eth_getTransactionCount
Polygon zkEVM node API
eth_getTransactionCount | zkEVM
Polygon zkEVM API method that returns the number of transactions sent from an address at the selected block. zkEVM via Chainstack.
POST
eth_getTransactionCount
Polygon zkEVM API method that returns the number of transactions sent from an address at the selected block. This value is also calledDocumentation Index
Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
Use this file to discover all available pages before exploring further.
nonce; it is an important piece of information, especially to ensure that a transaction is not sent twice.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
-
address— the address to retrieve the transaction count. -
quantity or tag— the integer of a block encoded as hexadecimal or the string with:latest— the most recent block in the blockchain and the current state of the blockchain at the most recent block. A chain reorganization is to be expected.safe— the block that received justification from the beacon chain. Although this block could be involved in a chain reorganization, it would necessitate either a coordinated attack by the majority of validators or an instance of severe propagation latency.finalized— the block accepted as canonical by more than 2/3 of the validators. A chain reorganization is extremely unlikely, and it would require at least 1/3 of the staked ETH to be burned.earliest— the earliest available or genesis blockpending— the pending state and transactions block. The current state of transactions that have been broadcast to the network but have not yet been included in a block.
Response
quantity— an integer value identifying the number of transactions sent from an address at the specified block.
eth_getTransactionCount code examples
Use case
One of the most common use cases foreth_getTransactionCountis to create the transaction object built in a script designed to send a transaction. The nonce field is required, and it is retrieved using the eth_getTransactionCount method.Last modified on May 18, 2026