Back to glossary

Nonce

Moderate

In Ethereum, a per-account counter that increments with each transaction sent from that account. The nonce ensures transactions are processed in order and prevents replay attacks: a transaction with a nonce that has already been used will be rejected. If you send a transaction with nonce 5 while nonce 4 is still pending, the nonce-5 transaction will be stuck until nonce 4 confirms.