TriportRPC

Nonce (account nonce)

Last updated:

Applies to: EVM chains

In more detail

Nonces make one sender's transactions execute strictly in order and make each signed transaction usable only once. A transaction with a nonce that is too low is rejected; one with a nonce that is too high waits as queued until the missing nonces arrive.

eth_getTransactionCount returns the next nonce: with the latest tag it counts mined transactions, with the pending tag it also counts transactions in that node's pool. Sending a transaction with the same nonce and a higher fee replaces a pending one.

See also

Sources

All terms in the RPC and blockchain glossary