How to Speed Up or Cancel a Pending Transaction?

Speeding Up a Transaction

Click the [Speed Up]button. This option allows you to resubmit the same transaction with a higher gas fee, increasing the likelihood of faster processing. Since this process re-uses the same nonce as the original, you do not need to pay for gas twice.

Note: Speeding up a transaction will increase the total cost.

Canceling a Transaction

Method 1: In-app Cancellation

Click the [Cancel Transaction] button. This option is only available if the transaction is still pending. Once a transaction is confirmed, it cannot be reversed.

Method 2: Custom Nonce

This process involves sending a new transaction with the same nonce (an identifying number for every transaction, derived from the phrase 'number only used once'). The transaction does not actually have to have any value — e.g., you could send 0 ETH. What matters is that you pay enough gas for the network to prioritize it.

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.

Note also that you may be able to cancel multiple transactions at once if they have the same nonce. Since a nonce—by definition—can only be used once, canceling one of them will cancel all that have the same nonce.

  1. In the [settings], enable [Custom Nonce]. This feature must be turned on to send a replacement transaction using the same nonce.

  1. Send a new transaction. In the new transaction, send TO yourself, meaning your NeoLine public address. Fill in 'Custom Nonce' with the same nonce as the transaction that is still pending.

To ensure your cancellation request is prioritized over the original transaction, you'll need to increase the gas fee. Follow these steps:

  • Set the gas limit equal to or slightly higher than the original transaction.

  • Set the priority fee at least 10% higher (in Gwei) than the original transaction's gas fee (e.g., if the original transaction had a gas fee of 30 Gwei, set the max priority fee for the replacement/cancellation transaction to 33-35 Gwei).

  • Ensure the max fee is at least 30% higher than the max fee of the transaction you're replacing. For example, if the previous fee was 150 Gwei, set the new fee closer to 200 Gwei.

最后更新于