Resend a stuck USDC payout with fees 9% higher and geth, Reth, Nethermind and Erigon all give the same answer: replacement transaction underpriced. Raise maxFeePerGas by 50% but leave the tip where it was and you get the same error, because every one of those clients checks both fields.
Why the payout got stuck in the first place is less obvious, and the answer is in the fee defaults. I pulled 51,200 blocks of Ethereum base-fee history (27 November to 4 December 2026) and replayed viem's default fee cap, 1.2 times the base fee, against it. In 26% of blocks the base fee had passed that cap within five minutes. A payout priced that way does not fail. It sits in the mempool and holds up every nonce behind it.
What Does "Replacement Transaction Underpriced" Mean?
An EVM account's transactions execute strictly in nonce order. If the pool already holds a transaction from your address at nonce 41, a second transaction at nonce 41 is a replacement, and the pool only takes it if it pays meaningfully more. In geth the check is list.Add in core/txpool/legacypool/list.go. It first rejects the newcomer unless both the fee cap and the tip are strictly higher, then computes old * (100 + bump) / 100 for each one and rejects if either falls short. The bump defaults to 10.
| Client | Default bump | Configurable | Blob transactions | Error over RPC |
|---|---|---|---|---|
| geth | 10% | --txpool.pricebump | 100% | replacement transaction underpriced |
| Reth | 10%, threshold rounded up | --txpool.pricebump | 100% | Same (mapped from insufficient gas price to replace existing transaction) |
| Nethermind | 10% | No, hard-coded | 100% on all three fees | Same |
| Erigon | 10% | Yes | 100% | Same |
Two details catch people out. The first is the tip. A legacy type-0 transaction has one gasPrice, but an EIP-1559 transaction needs both fields bumped, and the tip is the one teams forget because on mainnet it has become tiny: a public node I queried suggested 12,220 wei for eth_maxPriorityFeePerGas. The bump is trivial in money terms and still mandatory.
The second is rounding. geth truncates the threshold with integer division and Reth rounds it up with div_ceil, so a replacement at exactly 110% can pass one client and fail another by one wei. I multiply both fields by 1.125 and add a wei, which also matches the 1.125 multiplier web3.py applies to legacy replacements.
Why Do Ethereum Transactions Get Stuck in 2026?
geth does not reject a transaction whose fee cap is below the current base fee. The max fee per gas less than block base fee error belongs to the state transition, so you see it from eth_call and gas estimation, not from eth_sendRawTransaction. The pool accepts the transaction, block builders skip it, and it waits for the base fee to come back down. Nothing tells your service it is stuck apart from a missing receipt.
EIP-1559 limits the base-fee change to one eighth per block (BASE_FEE_MAX_CHANGE_DENOMINATOR = 8), so a full block pushes it up 12.5%. That gives every library default a shelf life:
- viem computes
maxFeePerGas = baseFee * 1.2 + tip. Two full blocks in a row (1.125² ≈ 1.27) take the base fee past it. That is 24 seconds. - ethers v6 computes
baseFee * 2 + tip, with the tip falling back to 1 gwei if the node has no suggestion. Six full blocks (1.125⁶ ≈ 2.03) take it past. That is 72 seconds.
eth_feeHistory for blocks 26,504,314 to 26,555,513 from a public RPC and, for every block, checked whether the base fee rose above a given multiple of that block's value within the next 5, 25 or 300 blocks.
| Fee cap | Priced out within 1 minute | Within 5 minutes | Within 1 hour |
|---|---|---|---|
| 1.2 × base fee (viem default) | 6.7% | 26.0% | 73.3% |
| 1.5 × base fee | 0.5% | 6.5% | 46.4% |
| 2 × base fee (ethers default) | 0.0% | 2.3% | 29.1% |
The week included a spike: on 3 December the base fee went from 0.81 to 101.87 gwei in 165 blocks, about 33 minutes. Strip out that day and the figures barely move (26.1% at five minutes for the 1.2× cap, 28.7% at one hour for 2×). The week's median base fee was 0.09 gwei, and at that level a doubling costs the network almost nothing. The longest run of consecutive rises was 24 blocks.
So on mainnet today the cap is what binds, not the tip. A payout with a 2× cap and a generous tip still sits if the base fee triples. Remember too that maxFeePerGas is a ceiling, not a price. You pay the base fee plus the tip, and the cap only reserves balance.
Nonce Too Low vs Already Known vs Nonce Too High
These errors look alike in logs and mean very different things to a payments ledger.
| Error string | Where it comes from | What it means | What to do |
|---|---|---|---|
already known | Pool admission | This exact signed transaction is already in the pool | Treat as a successful broadcast |
replacement transaction underpriced | Pool admission | Same nonce pending; tip or cap bumped less than 10% | Raise both fields by 1.125× |
nonce too low | State check | A transaction at this nonce has already been mined | Find which hash mined before doing anything else |
nonce too high or nonce gap too large | geth blob pool; Erigon for gaps over 64 | You skipped a nonce | Fill the gap |
transaction underpriced | geth pool full | Tip too low to displace anything | Raise the tip |
transaction gas price below minimum | Node price limit | Tip below 1 wei (geth default) or 25 gwei (Polygon PoS) | Raise the tip |
in-flight transaction limit reached for delegated accounts | geth, Reth | EIP-7702 delegated account already has a pending transaction | Wait, or replace at the same nonce |
nonce too low is the dangerous one in a payments system. Teams read it as "the resend failed" and re-sign the payout at a fresh nonce. If the original or an earlier replacement was mined, the beneficiary has now been paid twice. The right response is to look up which of the hashes you signed for that nonce has a receipt, and settle the payout against that one.
Gaps are quieter. geth's legacy pool accepts out-of-order nonces into its queue, up to 64 per account by default, and never returns nonce too high at admission. The queued transactions just wait, and an account that stays stale in the queue for three hours is evicted.
If you have delegated a hot wallet with EIP-7702, there is a newer limit. geth and Reth both allow a delegated account one in-flight executable transaction (DEFAULT_MAX_INFLIGHT_DELEGATED_SLOTS = 1 in Reth), reject gapped nonces from it, and still accept a same-nonce replacement. A payout wallet that pipelined dozens of transfers as a plain EOA gets one at a time after delegation. My EIP-7702 vs ERC-4337 guide covers why you might delegate anyway.
How Should a Payout Service Manage Nonces?
My position: the nonce belongs in your database, not in the node and not in a library's memory. I treat it like a ledger sequence number, because that is what it is.
eth_getTransactionCount(address, "pending") asks one node about its own pool. Besu's documentation warns that nodes do not all hold the same pending transactions and recommends sticky load balancing per account. Behind a provider's load balancer you do not choose which node answers. Base's docs contradict each other (pending on the troubleshooting page, latest plus local tracking in the API reference), and on Arbitrum pending simply returns the latest value.
The design that holds up:
1. Keep one row per (chain_id, address) holding next_nonce. Allocate with UPDATE wallet_nonce SET next_nonce = next_nonce + 1 WHERE chain_id = $1 AND address = $2 RETURNING next_nonce - 1, inside the same database transaction that creates the payout attempt. The row lock serialises allocation across pods. It is the same conditional-update shape I benchmarked in the Postgres double-spend tests.
2. Sign, then persist the raw bytes, hash, nonce and fees before broadcasting. A resend is the same bytes, so the worst case is already known.
3. Key the payout to the nonce, not the hash. Every replacement adds another hash at the same nonce, and whichever one gets a receipt is the payout.
4. Reconcile against latest. Once eth_getTransactionCount(address, "latest") passes a nonce, fetch receipts for each hash signed at that nonce. Exactly one will exist. Hold the payout as sent until it reaches your finality threshold for that chain.
5. Never abandon a nonce. If a payout is cancelled after signing, the nonce still has to be used, by a zero-value self-transfer if nothing else. OpenZeppelin's Relayer does this automatically: it detects gaps and fills them with no-op transactions.
Throughput comes from more wallets, not deeper queues. geth guarantees 16 executable slots per account (AccountSlots). Circle caps its per-wallet queue at 32 for an Ethereum EOA and 1 for a smart contract account. Fireblocks waits to see the previous EVM transaction on chain before signing the next, and recommends five to six pooled wallets per transaction per second. A stuck transaction stalls one wallet; sharding stops it stalling your payouts.
viem vs ethers vs alloy: Which Nonce Manager Should You Use?
| Library | How you get it | Where the nonce comes from | After a failed send | Resync |
|---|---|---|---|---|
viem nonceManager | Opt in: privateKeyToAccount(key, { nonceManager }) | pending count plus a local delta, keyed by address.chainId | Resets (since May 2026) | Re-reads the node, but never hands out less than last consumed + 1 |
ethers v6 NonceManager | Opt in: wraps one signer | First pending count, then a local delta | Delta kept, no rollback | Never, until you call reset() |
alloy CachedNonceManager | Default in ProviderBuilder::new() | First pending count, then local increments, keyed by address only | Not resynced | Never; no reset method |
alloy SimpleNonceManager | Opt in | pending count on every call | Nothing reserved | Every call, so concurrent sends can collide |
| web3.py | Default | pending count on every call | Nothing reserved | Every call |
None of these is a nonce ledger. Each lives in one process's memory, so two pods with the same signing key are two independent counters.
ethers has the sharpest edge. sendTransaction increments the delta before sending, and the source has a TODO where a rollback would go, so one rejected send leaves a permanent hole until something calls reset(). alloy's cached manager documents that it does not resynchronise after a failed submission, a reorg or a send from elsewhere, and since it keys by address alone, do not share one filler across chains.
viem has improved most this year. Since May 2026 it resets after a failed send, and its source comment admits that a failed send does not prove the nonce is unused. By my reading of the code, its guard against lagging nodes has a flip side: if a transaction the node accepted later disappears from the pool, viem keeps counting past the hole until reset() is called.
Use the library managers for scripts and single-instance workers. For a payout service, pass nonce explicitly from your database row; viem only consults its manager when nonce is missing.
How to Speed Up or Cancel a Stuck Transaction
Speeding up means re-signing the same payload at the same nonce with both fee fields raised. Cancelling means a zero-value, 21,000-gas transfer to yourself at that nonce, also with both fields raised. Both are races. If the original is mined first, your replacement comes back nonce too low, and for a cancel that means the payout went out. Record every hash you sign against the nonce so reconciliation can tell which one won.
Managed wallet platforms wrap the same mechanics:
| Provider | Speed up | Cancel | Stuck signal | Constraint worth knowing |
|---|---|---|---|---|
| Circle Developer-Controlled Wallets | POST /v1/w3s/developer/transactions/{id}/accelerate, resubmits at HIGH | POST .../{id}/cancel, best effort, gas may still be charged | STUCK state | Cancel before resending or the resend queues behind the stuck nonce; native balance must cover max fee × gas limit for every pending transaction (error 155201) |
| Fireblocks | Create Transaction with replaceTxByHash | POST /v1/transactions/{txId}/drop, a zero-amount replacement | transaction.alert.stuck webhook | Default queue timeout of 2 hours |
| OpenZeppelin Relayer | Automatic: resubmits after 2, 3, 5 or 10 minutes by speed tier, doubling each attempt, minimum bump 1.1× | DELETE /api/v1/relayers/{id}/transactions/{tx_id} | Status polling | After the default 8-hour valid_until, replaced with a no-op |
| Privy | Resend at the same nonce, gas set automatically | Not documented | transaction.still_pending webhook | Your code drives the resend |
OpenZeppelin retired Defender on 1 July 2026; the open-source Relayer (Rust, AGPL-3.0, v1.10.0) replaces it. Its 1.1× minimum bump leaves no margin above the clients' 10%.
Circle's state list is the one worth copying even if you self-host: INITIATED, QUEUED, CLEARED, SENT, STUCK, CONFIRMED, COMPLETE, CANCELLED, FAILED, DENIED, with FAILED_REORG as an explicit failure reason. Treating STUCK as its own state, separate from SENT, is the piece most homegrown payout services lack.
Arbitrum vs Base vs Polygon: Do Stuck Transactions Work the Same?
| Chain | Ordering | Base-fee movement | Minimum tip | Gapped nonce | pending vs latest |
|---|---|---|---|---|---|
| Ethereum | Builders, by priority fee | +12.5% per 12 s block | 1 wei (geth default) | Queued, up to 64, evicted after 3 h stale | Differ; node-local |
| Base | Priority fee, 200 ms blocks, no public mempool | +0.4% per block | None documented | Later nonces wait behind a stuck one | Docs contradict each other |
| Arbitrum One | Priority gas auctions since ArbOS 61 | Sat at 0.02 gwei when I checked | Not documented | Held 1 s, then dropped | Same value |
| Polygon PoS | Bor block producers | Not measured | 25 gwei, enforced | geth-style queue (Bor forks geth's pool) | Differ |
Base looks forgiving per block and is less so per second. Its fee parameters (denominator 1000, elasticity 5) cap the rise at 0.4% per block, and across 44,032 blocks on the morning of 4 December I measured exactly that ceiling, with the base fee between 0.005 and 0.009 gwei. At five blocks a second, 0.4% compounds to about 2% per second, against roughly 1% on Ethereum. With a base fee that low, set the cap far above it: you only pay what the block charges.
Arbitrum One changed its rules this year. ArbOS 61 turned on tip collection from 23 September 2026 and moved ordering to priority gas auctions; before that, tips were ignored and the sequencer was first come, first served. A replacement now wins only if it reaches the sequencer before the original executes and outbids it by 10%. Lose the race and you get nonce too low. The docs page for this still has open review notes, so treat the detail as provisional.
Polygon PoS is the chain that rejects outright. Bor forces the pool's price limit to 25 gwei whatever the node configuration says (the code comment cites PIP-35), so any lower tip comes back transaction gas price below minimum. The base fee in my 18-hour sample ran from 222 to 276 gwei. ethers swaps in the Polygon gas station on chain 137; check what your own stack sends.
Solana and Tron Have No Nonce: What Expires Instead?
Solana and Tron replace the nonce queue with expiry, which flips the failure mode. Nothing blocks behind a stuck transaction. Instead, a transaction that does not land in time is dead and has to be re-signed.
On Solana the clock is the recent blockhash, valid for 150 blocks. That is now about 30 seconds, because slot times dropped to 200 ms (the final step went live at epoch 1053 on 9 October 2026), not the 60 to 90 seconds many guides still quote. Mismatched commitment levels produce Blockhash not found. The safe resend rule is to poll getBlockHeight until it passes the lastValidBlockHeight returned with your blockhash, and only then re-sign. Re-sign earlier and both versions can land. Durable nonce accounts, the old escape hatch for offline signing, are on the way out: the Solana Foundation announced their deprecation in October 2026.
Tron transactions carry ref_block_bytes, ref_block_hash and an expiration. java-tron defaults the expiration to 60 seconds and rejects anything more than 24 hours past the head block. TronWeb sets now plus 60 seconds and can only extend expiry before signing.
The EVM model needs a ledger. The expiry model needs a deadline check. Both need you to know, for each payout, which signed transactions could still land.
What This Means for Stablecoin Payout Teams
1. Allocate nonces from one database row per chain and address, and pass nonce to the library explicitly.
2. Persist signed bytes before broadcast, and resend them unchanged.
3. Set maxFeePerGas to the most you are willing to pay, not 1.2× of the current block.
4. Replace with both fee fields multiplied by 1.125, plus one wei.
5. Treat nonce too low as "go and find the receipt", never as a failed payout.
6. Add a STUCK state driven by a timer (no receipt after N blocks) and a cancel path that consumes the nonce.
7. Shard volume across wallets so one stuck nonce stalls one wallet.
8. Send at least 25 gwei of tip on Polygon PoS. Arbitrum drops a gapped nonce after a second. On Solana, re-sign only after lastValidBlockHeight has passed.
9. If you delegate a payout wallet with EIP-7702, plan for one in-flight transaction per account.
I'm Tom Wang, and I write these from client source code and measured chain data where I can get them. The fee-history figures cover one week on one public endpoint, so rerun eth_feeHistory against your own chain mix before you choose a cap.