pull down to refresh

Dumb question. If I want to sweep all funds from a lightning wallet, is there an easy way to do this? I can only generate an invoice from receive address, which cannot be for the total amount in the sending address as there is x amount of fees that cannot be predicted. So I usually end up with extra sats left over in the sending wallet. On chain UTXO is more intuitive to me in this way

Close the channels first then send all funds on chain to wherever.

Lightning a second layer payment solution only.

reply

This makes sense now. Thanks

reply

deleted by author

deleted by author

Use https://boltz.exchange/ to get your funds back to the main chain.

reply

deleted by author

Lightning invoices can leave out the amount field, so it would be possible for a wallet to implement a "pay all" feature that sent every sat possible, taking fees into account.

Similarly, Phoenix (and probably other wallets) has a "Drain wallet" feature that closes all channels and sends all available funds to the specified on-chain address.

reply

deleted by author

Just take a broom and get to work :)

reply

deleted by author

deleted by author