EVM: Replacing a transaction

Modified on Sun, 13 Aug 2023 at 11:29 AM

To replace an EVM-compatible transaction using Tatum.io API, follow these steps:

  1. Look up the nonce field in your original transaction.
    The nonce is a unique number that identifies the transaction in the blockchain and prevents double-spending.
    You can check the nonce of your transaction by using a blockchain explorer like Etherscan.
  2. Create a new transaction with the same nonce value as the original transaction. 
  3. Make sure that the new transaction has a higher gasPrice than the original one.
    This will incentivize miners to include the new transaction in the next block, replacing the old one.
  4. Finally, you can broadcast the new transaction.


Additional information about the nonce value is available at the following article.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article