Market Cap: $2.1817T 3.91%
Volume(24h): $87.454B 8.66%
Fear & Greed Index:

15 - Extreme Fear

  • Market Cap: $2.1817T 3.91%
  • Volume(24h): $87.454B 8.66%
  • Fear & Greed Index:
  • Market Cap: $2.1817T 3.91%
Cryptos
Topics
Cryptospedia
News
CryptosTopics
Videos
Top Cryptospedia

Select Language

Select Language

Select Currency

Cryptos
Topics
Cryptospedia
News
CryptosTopics
Videos

How to fix "replacement transaction underpriced" on MetaMask?

以太坊交易Nonce冲突常因重复或跳号引发,需确保每笔交易nonce严格递增;手动调整前应查链上最新值,并用≥10%更高Gas费替换卡住的交易。

May 30, 2026 at 12:40 am

Understanding Transaction Nonce Conflicts

1. Every Ethereum-based transaction carries a sequential number called a nonce, which must increment by exactly one for each new transaction from the same address.

2. When multiple pending transactions exist with overlapping nonces, MetaMask may attempt to replace an earlier one using an insufficient gas price increase.

3. The Ethereum protocol mandates that replacement transactions require at least 10% higher gas price than the original; failure to meet this threshold triggers the 'underpriced' error.

4. This issue frequently appears during rapid wallet interactions, especially when users manually adjust gas settings or broadcast competing transactions via different interfaces.

5. Legacy transactions stuck in the mempool—often due to low initial fees—can block subsequent submissions until they either confirm or expire.

Clearing Local Storage Corruption

1. Chrome’s IndexedDB stores cached transaction history and account state, which may retain stale nonce values after failed or interrupted operations.

2. Opening Developer Tools (F12), navigating to Application → Storage → IndexedDB, and clearing site data for metamask.io resets internal counters.

3. Local Storage entries related to network state and pending tx queues also contribute to misaligned expectations between client and node.

4. After clearing storage, restarting the browser ensures no residual session data interferes with fresh connection initialization.

5. This step resolves cases where MetaMask displays “Transaction rejected” despite correct gas parameters and sufficient ETH balance.

Manual Nonce Adjustment in Advanced Settings

1. Within MetaMask Settings → Advanced, the “Reset Account” option forces recalculation of the next usable nonce based on current on-chain state.

2. Users can also enable “Customize Transaction” before submission to manually input a specific nonce value higher than the latest confirmed one.

3. Checking the current nonce via Etherscan or Blockchair for the sender address provides accurate baseline information before manual override.

4. Submitting a zero-value transaction with elevated gas fee and precise nonce serves as a safe method to advance the counter without transferring assets.

5. Repeated use of custom nonce entry requires strict tracking to avoid accidental duplication or skipping, both of which cause immediate rejection.

RPC Node Consistency Checks

1. Inconsistent responses from RPC endpoints—especially overloaded Infura instances—may return outdated pending transaction lists or inaccurate nonce readings.

2. Switching to alternative providers such as Alchemy, QuickNode, or official chain-specific nodes improves synchronization reliability.

3. For Polygon or Arbitrum users, verifying chain ID alignment prevents cross-network nonce confusion that manifests as underpriced replacements.

4. Disabling Privacy Mode in MetaMask Settings → Security & Privacy ensures full access to network metadata required for accurate transaction estimation.

5. Enabling “Show test networks” allows quick validation against staging environments where nonce behavior can be observed without economic risk.

Frequently Asked Questions

Q: Can I cancel a pending transaction without paying extra gas?Yes. Broadcasting a new transaction with the same nonce but higher gas fee replaces the old one. No separate cancellation mechanism exists.

Q: Why does MetaMask sometimes suggest lower gas than needed for replacement?The auto-fee estimator relies on recent block data and cannot always detect pending replacements. Manual gas override is often necessary.

Q: Does resetting my MetaMask account delete my private keys?No. Resetting only clears local cache and transaction history. Your seed phrase and cryptographic identity remain fully intact.

Q: What happens if two transactions share the same nonce but different gas prices?The network accepts only the first one it receives with sufficient fee. The second is dropped unless its gas price exceeds the first by at least 10%.

Disclaimer:info@kdj.com

The information provided is not trading advice. kdj.com does not assume any responsibility for any investments made based on the information provided in this article. Cryptocurrencies are highly volatile and it is highly recommended that you invest with caution after thorough research!

If you believe that the content used on this website infringes your copyright, please contact us immediately (info@kdj.com) and we will delete it promptly.

Related knowledge

See all articles

User not found or password invalid

Your input is correct