Cancel or Replace a blockchain transaction (2024)

Table of Contents
❗️ Replacing a transaction

In some cases, you may want to cancel or replace a transaction.

  • Cancel: for EVM chains (like Ethereum), it may be possible to replace a pending transaction in the mempool via another one with value zero (0) to your own address. UTXO transactions can't be "canceled".
  • Replace: for UTXO chains (like Bitcoin), it may be possible to increase the fee of a pending transaction via RBF (if enabled) or via CPFP. For EVM chains, it may be possible to replace a pending transaction.

❗️

Confirmed blockchain transactions cannot be canceled or reverted. Once a transaction has been confirmed and added into a block, it's final.

EVM chains allow a bit of a trick to cancel a pending (unconfirmed) transaction in the mempool:

  1. Verify the transaction you want to cancel is not confirmed yet and is still pending in the mempool. Check an Explorer.
  2. Verify the nonce value of the unconfirmed transaction you want to cancel.
  3. Create a new transaction where the sender and receiver blockchain address is the same with a zero (0) amount. Use the same nonce value you got from step 2 and put a much higher fee.
  4. Broadcast this transaction. Ideally, the miners will prioritize this new transaction over the original due to a higher fee.
  5. If all worked well, your new transaction will get confirmed first and the original will be dropped due to invalid.

Replacing a transaction

UTXO chains may allow RBF or in some cases CPFP on pending (unconfirmed) transactions.

EVM chains may allow replacing a transaction using the same method as if you were to cancel it:

  1. Verify the transaction you want to cancel is not confirmed yet and is still pending in the mempool. Check an Explorer.
  2. Verify the nonce value of the unconfirmed transaction you want to replace.
  3. Create a new transaction where the receiver blockchain address may or may not be the same as in the original to replace. Use the same nonce value you got from step 2 and put a much higher fee.
  4. Broadcast this transaction. Ideally, the miners will prioritize this new transaction over the original due to a higher fee.
  5. If all works well, your new transaction will get confirmed first and the original will be dropped due to invalid.
  • Incorrectly executed transactions may result in the loss of funds.
  • For pending or unconfirmed transactions, there's no guarantee of success in canceling or replacing them.
  • Blockchain transactions, once confirmed, are final (irreversible).

Updated 3 months ago

Cancel or Replace a blockchain transaction (2024)
Top Articles
How to Win a Citibank Debt Lawsuit
How to Calculate and Pay Federal Estimated Quarterly Taxes: A Guide
Menards Thermal Fuse
Coverage of the introduction of the Water (Special Measures) Bill
Mawal Gameroom Download
Graveguard Set Bloodborne
The Many Faces of the Craigslist Killer
Xm Tennis Channel
Housing Intranet Unt
World History Kazwire
Bestellung Ahrefs
Craigslist Deming
How do I get into solitude sewers Restoring Order? - Gamers Wiki
Swgoh Turn Meter Reduction Teams
Daylight Matt And Kim Lyrics
White Pages Corpus Christi
Exterior insulation details for a laminated timber gothic arch cabin - GreenBuildingAdvisor
Sulfur - Element information, properties and uses
Aerocareusa Hmebillpay Com
Football - 2024/2025 Women’s Super League: Preview, schedule and how to watch
Violent Night Showtimes Near Century 14 Vallejo
SuperPay.Me Review 2023 | Legitimate and user-friendly
A Person That Creates Movie Basis Figgerits
Magic Seaweed Daytona
Preggophili
Violent Night Showtimes Near Johnstown Movieplex
208000 Yen To Usd
The Monitor Recent Obituaries: All Of The Monitor's Recent Obituaries
Obsidian Guard's Skullsplitter
Att U Verse Outage Map
Human Unitec International Inc (HMNU) Stock Price History Chart & Technical Analysis Graph - TipRanks.com
Craigslist Ludington Michigan
Studio 22 Nashville Review
Rochester Ny Missed Connections
Spectrum Outage in Genoa City, Wisconsin
Cookie Clicker The Advanced Method
My Locker Ausd
Lake Kingdom Moon 31
Cnp Tx Venmo
Homeloanserv Account Login
Sand Castle Parents Guide
Craigslist Antique
About Us
Spreading Unverified Info Crossword Clue
American Bully Puppies for Sale | Lancaster Puppies
Kaamel Hasaun Wikipedia
Mega Millions Lottery - Winning Numbers & Results
Craigslist Chautauqua Ny
Take Me To The Closest Ups
Stephen Dilbeck, The First Hicks Baby: 5 Fast Facts You Need to Know
antelope valley for sale "lancaster ca" - craigslist
Latest Posts
Article information

Author: Merrill Bechtelar CPA

Last Updated:

Views: 6364

Rating: 5 / 5 (70 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Merrill Bechtelar CPA

Birthday: 1996-05-19

Address: Apt. 114 873 White Lodge, Libbyfurt, CA 93006

Phone: +5983010455207

Job: Legacy Representative

Hobby: Blacksmithing, Urban exploration, Sudoku, Slacklining, Creative writing, Community, Letterboxing

Introduction: My name is Merrill Bechtelar CPA, I am a clean, agreeable, glorious, magnificent, witty, enchanting, comfortable person who loves writing and wants to share my knowledge and understanding with you.