# Cancel stuck BTC transaction (on-chain)

**URL:** <https://community.umbrel.com/t/cancel-stuck-btc-transaction-on-chain/5642>\
**Category:** Bitcoin and Lightning\
**Created:** [January 7, 2022, 8:36pm UTC](https://community.umbrel.com/t/cancel-stuck-btc-transaction-on-chain/5642 "2022-01-07T20:36:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![robo](https://avatars.discourse-cdn.com/v4/letter/r/bb73d2/32.png) [@robo](https://community.umbrel.com/u/robo)\
**Post date:** [January 7, 2022, 8:36pm UTC](https://community.umbrel.com/t/cancel-stuck-btc-transaction-on-chain/5642/1 "2022-01-07T20:36:42Z")

</div>

we all know that transactions in the blockchain are completely and totally irreversible. This is true, as long as they are CONFIRMED (or mined)…but if you send a transaction, say 50k satoshi, with too low fee, in time where others are offering higher fees, and you want to recall it or cancel it, you may very well have few hours or days to do it. How?

The principle is simple, you generate new incoming address and send new transaction sending coin back to yourself, but WITH A HIGHER FEE, so it gets processed (confirmed/mined) earlier. This is the theory. There are wallets that allow it. electrum can.

Now, we are running our own node, so there must be a way how to do exactly that with Umbrel. How do we double spend coin with umbrel, RTL, or thunderhub? How can it be done?

---

<div class="post-metadata">

**Author:** ![Hakuna](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/hakuna/32/549_2.png) [@Hakuna](https://community.umbrel.com/u/Hakuna)\
**Post date:** [January 8, 2022, 10:43am UTC](https://community.umbrel.com/t/cancel-stuck-btc-transaction-on-chain/5642/2 "2022-01-08T10:43:18Z")

</div>

It is tricky, but I once dove into this topic a little when 2 years ago the fees were at a total different level. These days, you could wait ages for a tx to go through, here are some thoughts which help you getting you on your research path:

- [Bumping fee for lightning channel open](https://lightningwiki.net/index.php/Bumping_fee_for_lightning_channel_open)
- [Can a channel be closed while the funding tx is still stuck in the mempool?](https://bitcoin.stackexchange.com/questions/102180/can-a-channel-be-closed-while-the-funding-tx-is-still-stuck-in-the-mempool)
- [LND funding transaction stuck in mempool due to low fees](https://bitcoin.stackexchange.com/questions/96003/lnd-funding-transaction-stuck-in-mempool-due-to-low-fees)
- [How to speed up your Bitcoin transaction when the network is clogged](https://blog.coingate.com/2020/11/btc-mempool-stuck/)

---

<div class="post-metadata">

**Author:** ![robo](https://avatars.discourse-cdn.com/v4/letter/r/bb73d2/32.png) [@robo](https://community.umbrel.com/u/robo)\
**Post date:** [January 8, 2022, 6:52pm UTC](https://community.umbrel.com/t/cancel-stuck-btc-transaction-on-chain/5642/3 "2022-01-08T18:52:29Z")

</div>

@Hakuna this is all for getting the transaction to PASS. but if you simply change your mind, and want it to CANCEL (before it gets confirmed) you need to send new transaction (double spend) for the original coin, with faster fee. that way, new one will get confirmed sooner, and old one will be ignored. But how to do it in umbrel?

---

<div class="post-metadata">

**Author:** ![Hakuna](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/hakuna/32/549_2.png) [@Hakuna](https://community.umbrel.com/u/Hakuna)\
**Post date:** [January 8, 2022, 8:20pm UTC](https://community.umbrel.com/t/cancel-stuck-btc-transaction-on-chain/5642/4 "2022-01-08T20:20:49Z")

</div>

Some of those discussions were going in the direction of your thoughts too: use CPFP (child pays for parent) to update the destination and trump the pending tx. The method to get there is described in the articles above, and I thought some of the comments further below went into destination overwrites. But again, those were only pointers. I don’t have that one magic wand, but bump fee and CPFP should help with direcitons.

---

<div class="post-metadata">

**Author:** ![Hakuna](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/hakuna/32/549_2.png) [@Hakuna](https://community.umbrel.com/u/Hakuna)\
**Post date:** [January 8, 2022, 10:12pm UTC](https://community.umbrel.com/t/cancel-stuck-btc-transaction-on-chain/5642/5 "2022-01-08T22:12:24Z")

</div>

Last one, here is some practical guidance on RBF. What I read, it’s also about overwriting the destination wallet  
[Bitcoin Replace-By-Fee guide: fix stuck transactions, do doublespends](https://medium.com/@overtorment/bitcoin-replace-by-fee-guide-e10032f9a93f)

---

<div class="post-metadata">

**Author:** ![totakaro](https://avatars.discourse-cdn.com/v4/letter/t/82dd89/32.png) [@totakaro](https://community.umbrel.com/u/totakaro)\
**Post date:** [January 12, 2022, 10:34pm UTC](https://community.umbrel.com/t/cancel-stuck-btc-transaction-on-chain/5642/6 "2022-01-12T22:34:53Z")

</div>

Install Ride The Lightning (RTL) and check the box to spend unconfirmed tx, then sent it to urself with a higher fee, check mempool.space to see fee recommendations 🙂

---

<div class="post-metadata">

**Author:** ![n080dy](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/n080dy/32/2207_2.png) [@n080dy](https://community.umbrel.com/u/n080dy)\
**Post date:** [May 27, 2023, 5:21pm UTC](https://community.umbrel.com/t/cancel-stuck-btc-transaction-on-chain/5642/7 "2023-05-27T17:21:20Z")

</div>

I tried with RTL but It give back the error `Invalid Output Index 2 For Transaction With 2 Outputs` where 2 is the Oi# matching the channel amount in the mempool.

There’s any other tool I can use to bump fees?
