What Is a Nonce in Ethereum? Read a Stuck Queue
What is a nonce in Ethereum transactions? It is an account’s transaction counter, which keeps sends in order and helps you manage a stuck queue.
The Blockchain Brief Desk3 min read
A nonce in an Ethereum transaction is the per-account counter that assigns each transaction from an address its next number, starting at 0, and makes the network process those transactions in order.
What does a nonce do in an Ethereum transaction?
An Ethereum account nonce counts transactions sent from that address. An externally owned account’s first transaction has nonce 0; each later transaction adds 1. The nonce is part of the transaction, so the network can tell which send comes next.
The order matters because a transaction cannot execute until every lower nonce from the same address has executed. That rule keeps transactions in sequence and helps stop someone from replaying an already processed transaction as a new one.
How does a nonce affect a Berachain bridge transaction?
A Berachain bridge moves assets across chains so they can be used in Berachain’s DeFi ecosystem. When you use the berachainbridge.app, the destination changes where your assets can be used; the nonce still tracks the order of your transactions on the chain where you send them.
Say MetaMask sends an Ethereum approval with nonce 5, then you submit a bridge deposit from the same address with nonce 6. The approval lets the bridge contract use the specified token amount. While nonce 5 is pending, the deposit at nonce 6 waits behind it. It cannot execute until nonce 5 confirms or is replaced.
Berachain is EVM-compatible and uses the same account nonce model. But nonces count separately on each chain. The same 0x address can have one current nonce on Ethereum and a different one on Berachain. A pending Ethereum approval blocks later Ethereum transactions from that address; it does not block a Berachain transaction.
What should you do when an Ethereum transaction is stuck?
A stuck transaction is often waiting because its fee is too low to be included, while later transactions from the same address queue behind its nonce. MetaMask sets the nonce automatically when you submit a transaction, so you usually do not need to choose or track it yourself.
If you need to clear the queue, MetaMask’s Speed up option resubmits the pending transaction with a higher fee and the same nonce. The network treats it as a replacement for the pending transaction. If you no longer want that transaction, Cancel attempts to replace it with a 0-value send from your address to itself, using the same nonce and a higher fee.
Both options reuse the pending nonce; they do not create a new place in the queue. A replacement must be accepted and confirmed before transactions with higher nonces can proceed. If you have several pending sends, resolve the lowest stuck nonce first, since later ones remain blocked behind it.
Is a nonce the same as a transaction fee or confirmation?
A nonce is not a fee, a transaction ID, or a confirmation count. It is the account’s sequence number for a transaction. The fee affects how attractive that transaction is for inclusion; the nonce determines where it sits in that account’s order.
For a bridge deposit, you can use the nonce to understand a delay without changing bridge settings: look for the earliest pending transaction from your Ethereum address. If it is an approval, decide whether to wait, speed it up, or cancel it. Once that transaction confirms or its replacement confirms, the next nonce in the Ethereum queue can proceed.