# How can set higher gas fee for transaction with nonce 0?

**URL:** <https://community.metamask.com/t/how-can-set-higher-gas-fee-for-transaction-with-nonce-0/27627>\
**Category:** Sending and Receiving Tokens\
**Created:** [December 6, 2023, 1:27am UTC](https://community.metamask.com/t/how-can-set-higher-gas-fee-for-transaction-with-nonce-0/27627 "2023-12-06T01:27:34Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![kwchik](https://avatars.discourse-cdn.com/v4/letter/k/a9adbd/32.png) [@kwchik](https://community.metamask.com/u/kwchik)\
**Post date:** [December 6, 2023, 1:27am UTC](https://community.metamask.com/t/how-can-set-higher-gas-fee-for-transaction-with-nonce-0/27627/1 "2023-12-06T01:27:34Z")

</div>

**Description:** My wallet’s transaction has been stuck around 16 hours by a transaction with nonce 0, how to set higher gas fee or cancel this transaction ?

**Purpose:** Cancel the transaction

**Extension/Mobile/Both:** 0x840d95de2e0b9f0bb18bea2b206c9e873d36a486672e637677af167029279bd3

**Images/Attacments:** No

---

<div class="post-metadata">

**Author:** ![tuya](https://dub1.discourse-cdn.com/metamask/user_avatar/community.metamask.com/tuya/32/15138_2.png) [@tuya](https://community.metamask.com/u/tuya)\
**Post date:** [December 6, 2023, 1:41am UTC](https://community.metamask.com/t/how-can-set-higher-gas-fee-for-transaction-with-nonce-0/27627/2 "2023-12-06T01:41:27Z")

</div>

hi @kwchik ,read this article carefully

> **[How to speed up or cancel a pending transaction](https://support.metamask.io/hc/en-us/articles/360015489251-How-to-speed-up-or-cancel-a-pending-transaction)**
>
> Have you tried MetaMask Activity?
> MetaMask Activity is a new tool that can analyze your transactions and automatically suggest possible resolutions, and it has a built-in function dedicated to pend...

> When using this method, **you will need to work backwards from the oldest pending transaction in the queue that you want to cancel**. For example, you cannot attempt to cancel a transaction with a nonce of 10 before canceling nonce 9.

> To make sure your cancellation request is picked up as a priority, and before the original, **you will need to pay more for gas**. On this screen, follow these instructions:
> 
> - Set your **gas limit** _comparable to or slightly higher_ than your original transaction.
> - Set your **priority fee** to _at least 10% higher_ (in Gwei) than the gas fee of the original (pending) transaction (e.g. if that transaction had a gas fee of 30 Gwei, set the max priority fee in the replacement/cancellation transaction to 33-35 Gwei).
> - Make sure your **max fee** is at least 30% higher than the max fee of the transaction you’re replacing. For example, if your previous fee was 150 Gwei, choose something nearer 200 Gwei this time.

---

<div class="post-metadata">

**Author:** ![kwchik](https://avatars.discourse-cdn.com/v4/letter/k/a9adbd/32.png) [@kwchik](https://community.metamask.com/u/kwchik)\
**Post date:** [December 6, 2023, 2:12am UTC](https://community.metamask.com/t/how-can-set-higher-gas-fee-for-transaction-with-nonce-0/27627/3 "2023-12-06T02:12:11Z")

</div>

Hi Tuya, I can send another 0 ETH transaction with high gas fee for nonce 1, 2 and 3. But cannot set this for nonce 0.  
My pending transaction is nonce 0

---

<div class="post-metadata">

**Author:** ![tuya](https://dub1.discourse-cdn.com/metamask/user_avatar/community.metamask.com/tuya/32/15138_2.png) [@tuya](https://community.metamask.com/u/tuya)\
**Post date:** [December 6, 2023, 2:32am UTC](https://community.metamask.com/t/how-can-set-higher-gas-fee-for-transaction-with-nonce-0/27627/4 "2023-12-06T02:32:21Z")

</div>

hi, according to the guidelines of the article, can’t you fill in the **Custom Nonce** as 0?

---

<div class="post-metadata">

**Author:** ![kwchik](https://avatars.discourse-cdn.com/v4/letter/k/a9adbd/32.png) [@kwchik](https://community.metamask.com/u/kwchik)\
**Post date:** [December 6, 2023, 2:38am UTC](https://community.metamask.com/t/how-can-set-higher-gas-fee-for-transaction-with-nonce-0/27627/5 "2023-12-06T02:38:28Z")

</div>

I use Copy & Paste Function to Paste “0” to nonce field.  
But finally the transaction has error: “ replacement transaction underpriced “

 ![image](https://europe1.discourse-cdn.com/metamask/original/3X/9/5/95fc56c54cf77356009b7673e3f00585d4ef0819.jpeg)

---

<div class="post-metadata">

**Author:** ![tuya](https://dub1.discourse-cdn.com/metamask/user_avatar/community.metamask.com/tuya/32/15138_2.png) [@tuya](https://community.metamask.com/u/tuya)\
**Post date:** [December 6, 2023, 3:15am UTC](https://community.metamask.com/t/how-can-set-higher-gas-fee-for-transaction-with-nonce-0/27627/6 "2023-12-06T03:15:51Z")

</div>

well, did you follow the instructions in the mobile section of the article to set the **Advanced options**? 🤔  
to make it easier to succeed, you can set it a little higher than that.

---

<div class="post-metadata">

**Author:** ![kwchik](https://avatars.discourse-cdn.com/v4/letter/k/a9adbd/32.png) [@kwchik](https://community.metamask.com/u/kwchik)\
**Post date:** [December 6, 2023, 3:23am UTC](https://community.metamask.com/t/how-can-set-higher-gas-fee-for-transaction-with-nonce-0/27627/7 "2023-12-06T03:23:00Z")

</div>

Wow, problem solved, Thanks a lot.  
Please Paste “0” to custom nonce filed. Because we cannot set 0 by used “+” and “-“ button

---

<div class="post-metadata">

**Author:** ![tuya](https://dub1.discourse-cdn.com/metamask/user_avatar/community.metamask.com/tuya/32/15138_2.png) [@tuya](https://community.metamask.com/u/tuya)\
**Post date:** [December 6, 2023, 3:31am UTC](https://community.metamask.com/t/how-can-set-higher-gas-fee-for-transaction-with-nonce-0/27627/8 "2023-12-06T03:31:42Z")

</div>

Great, glad your issue has been resolved. 😂  
Also, thanks for your suggestion, I will submit it to the team. 👍

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/metamask/original/3X/3/8/3812168020a49f264784b1dbfcf12435abbb09ad.png) [@system](https://community.metamask.com/u/system)\
**Post date:** [January 5, 2024, 1:28am UTC](https://community.metamask.com/t/how-can-set-higher-gas-fee-for-transaction-with-nonce-0/27627/9 "2024-01-05T01:28:31Z")

</div>

Closed on January 5, 2024, 1:28am UTC

This topic was automatically closed after 30 days. New replies are no longer allowed.
