eth_getTransactionCount - Etherlink RPC Method
Get the number of transactions sent from an address (nonce) on Etherlink. Essential for nonce management, transaction signing, and detecting stuck transactions.
Returns the number of transactions sent from an address on Etherlink, commonly known as the nonce. The nonce is required for every outbound transaction to ensure correct ordering and prevent replay attacks.
When to Use This Method
Read the demonstrated account transaction count at block 1,000,000.
Response Body
ResponseCode Examples
curl -X POST "https://api-etherlink-mainnet.n.dwellir.com/YOUR_API_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"jsonrpc":"2.0","id":20,"method":"eth_getTransactionCount","params":["0x5d66ec78664f4a0b0929a41270316a6cd4d8bd4b","0xf4240"]}'Best Practices
Keep the recorded block height and address together when reproducing a historical example. Preserve RPC errors instead of replacing them with empty results.
eth_getStorageAt
Read the value from a storage slot at a given contract address on Etherlink. Essential for reading contract state directly, proxy implementation verification, and storage layout analysis.
eth_getTransactionByHash
Retrieve transaction details by hash on Etherlink. Essential for Etherlink developers tracking transactions on Etherlink mainnet infrastructure and RPC surface.