# Dead node, how do I get BTC back from LN from 24 words seed?

**URL:** <https://community.umbrel.com/t/dead-node-how-do-i-get-btc-back-from-ln-from-24-words-seed/2731>\
**Category:** Bitcoin and Lightning\
**Created:** [August 18, 2021, 2:10am UTC](https://community.umbrel.com/t/dead-node-how-do-i-get-btc-back-from-ln-from-24-words-seed/2731 "2021-08-18T02:10:26Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![satosh1](https://avatars.discourse-cdn.com/v4/letter/s/b487fb/32.png) [@satosh1](https://community.umbrel.com/u/satosh1)\
**Post date:** [August 18, 2021, 2:10am UTC](https://community.umbrel.com/t/dead-node-how-do-i-get-btc-back-from-ln-from-24-words-seed/2731/1 "2021-08-18T02:10:26Z")

</div>

Hi,

My node died, I have 24 words seed but I don’t have lightning channel backup file. I only have 1 channel and the other party have already closed the channel with me while I was offline.

How do I get my BTC back? do I have to wait for a few weeks?

---

<div class="post-metadata">

**Author:** ![Full\_node](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/full_node/32/80_2.png) [@Full\_node](https://community.umbrel.com/u/Full_node)\
**Post date:** [August 18, 2021, 2:17am UTC](https://community.umbrel.com/t/dead-node-how-do-i-get-btc-back-from-ln-from-24-words-seed/2731/2 "2021-08-18T02:17:42Z")

</div>

You can use the 24 word seed in Bluewallet. Sometimes your balance doesn’t reflect the same between Bluewallet and Umbrel so be aware of this. Not sure how long before those funds will hit the wallet. Could be anywhere between a few blocks up to a couple weeks. You can see the last transaction once you import the wallet to Bluewallet to see if the lightning channel transaction has confirmed.

---

<div class="post-metadata">

**Author:** ![satosh1](https://avatars.discourse-cdn.com/v4/letter/s/b487fb/32.png) [@satosh1](https://community.umbrel.com/u/satosh1)\
**Post date:** [August 18, 2021, 2:19am UTC](https://community.umbrel.com/t/dead-node-how-do-i-get-btc-back-from-ln-from-24-words-seed/2731/3 "2021-08-18T02:19:47Z")

</div>

Yes I can see the BTC balance but I don’t see the balance from the LN. I can’t close the LN channel as I don’t have access to the channel backup file.  
I believe I have to wait a few weeks to get the BTC back to the wallet?

---

<div class="post-metadata">

**Author:** ![fireworksurprise](https://avatars.discourse-cdn.com/v4/letter/f/9e8a1a/32.png) [@fireworksurprise](https://community.umbrel.com/u/fireworksurprise)\
**Post date:** [August 18, 2021, 8:26am UTC](https://community.umbrel.com/t/dead-node-how-do-i-get-btc-back-from-ln-from-24-words-seed/2731/4 "2021-08-18T08:26:09Z")

</div>

I experienced the same thing with Bluewallet. My guess as to what is going on is that Bluewallet is unable to see the funds returned from channels (for some reason that I can’t explain).

Either way, if your channel partner has already force closed, you should be able to use a block explorer to find your closing transaction, along with the lock time of the transaction.

I would restore on Umbrel (or another LND implementation) to be certain you’re going to be able to find it.

---

<div class="post-metadata">

**Author:** ![majika](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/majika/32/936_2.png) [@majika](https://community.umbrel.com/u/majika)\
**Post date:** [August 18, 2021, 11:39am UTC](https://community.umbrel.com/t/dead-node-how-do-i-get-btc-back-from-ln-from-24-words-seed/2731/5 "2021-08-18T11:39:22Z")

</div>

Yes as @fireworksuprise said you can check the txid along with the time lock

If you can gain access to your node through SSH you maybe brave and take a look some of the internals:

```auto
ssh: umbrel@umbrel: cd ~/umbrel/bin

```

```auto
ssh: umbrel@umbrel:~/umbrel/bin $ ​bash lncli --help

```

> exportchanbackup - Obtain a static channel back up for a selected channels, or all known channels  
> ​verifychanbackup - Verify an existing channel backup  
> restorechanbackup - Restore an existing single or multi-channel static channel backup

Please be careful when messing directly with your node

---

<div class="post-metadata">

**Author:** ![satosh1](https://avatars.discourse-cdn.com/v4/letter/s/b487fb/32.png) [@satosh1](https://community.umbrel.com/u/satosh1)\
**Post date:** [August 20, 2021, 9:54am UTC](https://community.umbrel.com/t/dead-node-how-do-i-get-btc-back-from-ln-from-24-words-seed/2731/6 "2021-08-20T09:54:16Z")

</div>

> [@majika](#):
>
> `umbrel@umbrel:~/umbrel/bin $ ​bash lncli --help`

Thanks. here’s the closing hash, how do I check time lock?  
0add2fa8c76a6ff90c42489867a6f51edbaafbf13975f373851380bb2b1e4c59

Please note that I don’t have access to channel backup with the dead node. I only had one channel open which was forced closed while I was offline and only have the 24 words seed.

---

<div class="post-metadata">

**Author:** ![majika](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/majika/32/936_2.png) [@majika](https://community.umbrel.com/u/majika)\
**Post date:** [August 20, 2021, 1:34pm UTC](https://community.umbrel.com/t/dead-node-how-do-i-get-btc-back-from-ln-from-24-words-seed/2731/7 "2021-08-20T13:34:30Z")

</div>

> [@satosh1](#):
>
> 0add2fa8c76a6ff90c42489867a6f51edbaafbf13975f373851380bb2b1e4c59

Hi @satosh1,

# 1. Start by checking your TX

You can see your transaction/payment channel here on a LN Explorer:

[ln.fiatjaf.com (query it here)](https://ln.fiatjaf.com/channel/692597x1707x1)

I have included the output (below)

**OUTPUT:**

#### policy details

```auto
from `satoshi_LM_bot`|base fee (sat)|fee %|delay (min HTLC locktime)|update|
| --- | --- | --- | --- |
|1|0.0001|40|2021-07-26 08:53:03|

```

```auto
from `03f9766594831b459b23`|base fee|fee %|delay|update|
| --- | --- | --- | --- |
|1 sat|0.0001|40|2021-07-29 08:50:22|

```

#### onchain transactions

```auto
||block|transaction|fee paid|
| --- | --- | --- | --- |
|open|[692597](https://blockstream.info/block/692597)|[5bc1af76f0150c3dd86d2c1b68db442652c971bb3686ee97f670ce3e1c6e8c4f](https://blockstream.info/tx/5bc1af76f0150c3dd86d2c1b68db442652c971bb3686ee97f670ce3e1c6e8c4f?output:1)|177 sat|
|close|[694550](https://blockstream.info/block/694550)|[0add2fa8c76a6ff90c42489867a6f51edbaafbf13975f373851380bb2b1e4c59](https://blockstream.info/tx/0add2fa8c76a6ff90c42489867a6f51edbaafbf13975f373851380bb2b1e4c59)|544 sat|

```

* * *

# 2. Read this guide on Recovery

## Read this guide (Medium Link below):

Basically, we want to interact with your LND daemon on your node.  
We are aiming to issue commands to your node to **restore** the _ **“channel.backup”** _ file which could be on your system as it **could** be created by default, automatically.

1. If you can connect to your Umbrel node, you can do this over SSH / Terminal into your node then navigate to your LND CLI (If you have access to it ?) [recursive method]

```auto
ssh umbrel@192.168.1.xxx <change to your IP>

```

1. Change Directory to your lnd-cli

```auto
$ cd /home/umbrel/umbrel/bin

```

1. Then List directory with argument -al to reveal your lnd daemon

```auto
umbrel@umbrel:~/umbrel/bin $ ls -al
total 16
drwxrwxr-x 2 umbrel umbrel 4096 Aug 5 16:43 .
drwxr-xr-x 18 umbrel umbrel 4096 Aug 17 02:43 ..
-rwxrwxr-x 1 umbrel umbrel 323 Aug 5 16:43 bitcoin-cli
-rwxrwxr-x 1 umbrel umbrel 313 Aug 5 16:43 lncli

```

1. To interact with the LN Daemon you need to issue the **“bash”** command:

```auto
umbrel@umbrel:~/umbrel/bin $ bash lndcli --help

```

1. Switch the **- -help** command with the commands in the guides to try and recover your funds.

These are the commands you will need to utilise:-

> $ lncli restorechanbackup [command options] [–single\_backup] [–multi\_backup] [–multi\_file]  
> –single\_backup value - a hex encoded single channel backup obtained from exportchanbackup  
> –multi\_backup value - a hex encoded multi-channel backup obtained from exportchanbackup  
> –multi\_file value - the path to a multi-channel back up file

1. **Read the guide here:**  
[medium.com - Enable Channel Backups and fund Recovery on LND lightning network](https://medium.com/@rahil471/enable-channel-backups-and-fund-recovery-on-lnd-lightning-network-3f27be42eb43)   
The aim is to restore your channels so that you can see/interact with your transaction through bash/ssh command line.

* * *
  

### How to access your funds after the time lock has occurred?

To be honest I don’t know your exact situation and its kind of difficult to troubleshoot as I’m not hands on sort of speak.

I don’t want to suggest anything I am not 100% on which could possibly make things worse..

1. Based on what you have already stated you **don’t** have the channel backup..
2. The payment-channel was _ **Closed unilaterally** _
3. You **do** have your 24-word Recovery phrase

* * *

So, this is going to be a bit long winded as I am still getting to grips with this tech myself.

If you have access to the node via SSH you **should** be golden.

* * *

## Query the LND

[api.lightning (LND API Ref shell#closechannel)](https://api.lightning.community/?shell#closechannel)

- In the reference documentation manual it states the following comment:

```auto
# Close an existing channel. The channel can be closed either cooperatively,
# or unilaterally (--force).
# A unilateral channel closure means that the latest commitment
# transaction will be broadcast to the network. As a result, any settled
# funds will be time locked for a few blocks before they can be spent.
# In the case of a cooperative closure, one can manually set the fee to
# be used for the closing transaction via either the --conf_target or
# --sat_per_vbyte arguments. This will be the starting value used during
# fee negotiation. This is optional.
# In the case of a cooperative closure, one can manually set the address
# to deliver funds to upon closure. This is optional, and may only be used
# if an upfront shutdown address has not already been set. If neither are
# set the funds will be delivered to a new wallet address.
# To view which funding_txids/output_indexes can be used for a channel close,
# see the channel_point values within the listchannels command output.
# The format for a channel_point is 'funding_txid:output_index'.

$ lncli closechannel [command options] funding_txid [output_index]

# --funding_txid value the txid of the channel's funding transaction
# --output_index value the output index for the funding output of the funding transaction (default: 0)
# --force attempt an uncooperative closure
# --block block until the channel is closed
# --conf_target value (optional) the number of blocks that the transaction *should* confirm in, will be used for fee estimation. If not set, then the conf-target value set in the main lnd config will be used. (default: 0)
# --sat_per_vbyte value (optional) a manual fee expressed in sat/vbyte that should be used when crafting the transaction (default: 0)
# --delivery_addr value (optional) an address to deliver funds upon cooperative channel closing, may only be used if an upfront shutdown address is not already set

```

### Conclusion

- So we know the channel was closed unilaterally (–force’ed)
- This means that a number of blocks will need to be pass before HTLC (Time-lock) expires to unlocks your transaction.

If the medium article in step 2. has not resolved your issue the only alternative’s I can see is to

See, if waiting for the time lock to elapse and hopefully this will solve the problem and have it back into your wallet available to be spent.

Or if you have no luck using the cli maybe you could _somehow_ use a light wallet like Blue Wallet to send out the sats after unlocked.

Apologies for such a bloated document.  
I am researching this problem with you but I will try to update with a more thorough/complete answer after a little more research.

- 
### This is a great resource to research the actual commands - [API Lightning Community Shell # lnd-grpc-api Reference](https://api.lightning.community/?shell#lnd-grpc-api-reference)

> Try to glean some information from your log file you will need to pipe it out to a new file \>\>

```auto
umbrel@umbrel:~/umbrel/lnd/logs/bitcoin/mainnet $ cat lnd.log |grep <your txid>

```

HTH’s
