We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Here is my listfunds output before running the withdraw command:
listfunds
withdraw
$ l1-cli listfunds { "outputs": [ { "txid": "6a7f440ee87d019e0af9b433e34d20042c876d4c5d6fdd2286c6fd5ed3482ba9", "output": 0, "amount_msat": 1,000,000,000,000, "scriptpubkey": "001487e61d75df2ac63ac93acf613bb434fc9d8856b8", "address": "bcrt1qslnp6awl9trr4jf6easnhdp5ljwcs44cj8u386", "status": "confirmed", "blockheight": 314, "reserved": true, "reserved_to_block": 2330 }, { "txid": "0b2aa013c8c90133f897a3a560ac2d67d79733b3dd03016f617c295483162111", "output": 1, "amount_msat": 499999834000, "scriptpubkey": "51205412d3a3c9c2d8bbbc241fd9da60529166225ed60ca6b20db2284b8f90f30b03", "address": "bcrt1p2sfd8g7fctvth0pyrlva5czjj9nzyhkkpjntyrdj9p9cly8npvps3hcs0c", "status": "unconfirmed", "reserved": false } ], "channels": [ { "peer_id": "03b10090b33ea76c958ef7dba028c3969cdafad84279f628f5cedce568c8d4afd3", "connected": true, "state": "DUALOPEND_AWAITING_LOCKIN", "channel_id": "c3195ab76b03046a1a79d9b9e18c9b1b6b34e1e54ee6fb0febe013d53509435e", "our_amount_msat": 500000000000, "amount_msat": 500100000000, "funding_txid": "0b2aa013c8c90133f897a3a560ac2d67d79733b3dd03016f617c295483162111", "funding_output": 2 } ] }
Now, I bumped the channel open using withdraw all and I specified the change output using the utxos param:
all
utxos
$ l1-cli withdraw -k destination=bcrt1qslnp6awl9trr4jf6easnhdp5ljwcs44cj8u386 satoshi=all feerate=5 utxos='["0b2aa013c8c90133f897a3a560ac2d67d79733b3dd03016f617c295483162111:1"]' { "tx": "02000000011121168354297c616f0103ddb33397d7672dac60a5a397f83301c9c813a02a0b0100000000fdffffff021802cd1d0000000016001487e61d75df2ac63ac93acf613bb434fc9d8856b8a861000000000000225120e754a8fa97173ac58ec45570151065cb9a467613b1421490a2a67b2ff665dc4f3a010000", "txid": "b0d371a5c796dee0c7145fd0e78312e206b18cb4470bc17a6b4ac577365fc397", "psbt": "cHNidP8BAgQCAAAAAQMEOgEAAAEEAQEBBQECAQYBAwH7BAIAAAAAAQDdAgAAAAKpK0jTXv3GhiLdb11MbYcsBCBN4zO0+QqeAX3oDkR/agAAAAAA/f///0RIuZme75t/wptWbgxqxvRmw5FMmqufjN/qhtNKTwqEAQAAAAD9////A/BCmTsAAAAAIlEgDiJil6/qVqhKGhKGPbOCX4TcC3TEsURlK3Vi8ECfPJ1aZM0dAAAAACJRIFQS06PJwti7vCQf2dpgUpFmIl7WDKayDbIoS4+Q8wsDoOvOHQAAAAAiACAo48yMFUSrukUAfNQiopXOdXENxSZ79tBu8XlnQrwLPToBAAABAStaZM0dAAAAACJRIFQS06PJwti7vCQf2dpgUpFmIl7WDKayDbIoS4+Q8wsDAQ4gESEWg1QpfGFvAQPdszOX12ctrGClo5f4MwHJyBOgKgsBDwQBAAAAARAE/f///wETQHZCdY5+9ctPJNzH7YeVZW5LnZ014gkI4OK8baGYHyXc99lkmjjf4pdO2vzoQ3KdIa342RyGO8IJvNTMQgd37bchFupPO+E6kku283r3zfERBj1sGGT/XhngDKNtntCSjC3lCQATTLKNAAAAAAAiAgNAAGuUKcdQHPaTnPUZeJpOJeL0UCT5qFzliMWH893ARgiH5h11AQAAAAEDCBgCzR0AAAAAAQQWABSH5h113yrGOsk6z2E7tDT8nYhWuAz8CWxpZ2h0bmluZwQCAAEAAQMIqGEAAAAAAAABBCJRIOdUqPqXFzrFjsRVcBUQZcuaRnYTsUIUkKKmey/2ZdxPIQfzdmkmilUcHcQKvdTjEo9lGceSmdLedVVRgANBTq44vAkAOOr4YQQAAAAA" }
And this is my listfunds after:
$ l1-cli listfunds { "outputs": [ { "txid": "6a7f440ee87d019e0af9b433e34d20042c876d4c5d6fdd2286c6fd5ed3482ba9", "output": 0, "amount_msat": 1000000000000, "scriptpubkey": "001487e61d75df2ac63ac93acf613bb434fc9d8856b8", "address": "bcrt1qslnp6awl9trr4jf6easnhdp5ljwcs44cj8u386", "status": "confirmed", "blockheight": 314, "reserved": true, "reserved_to_block": 2330 }, { "txid": "0b2aa013c8c90133f897a3a560ac2d67d79733b3dd03016f617c295483162111", "output": 1, "amount_msat": 499999834000, "scriptpubkey": "51205412d3a3c9c2d8bbbc241fd9da60529166225ed60ca6b20db2284b8f90f30b03", "address": "bcrt1p2sfd8g7fctvth0pyrlva5czjj9nzyhkkpjntyrdj9p9cly8npvps3hcs0c", "status": "unconfirmed", "reserved": true, "reserved_to_block": 458 }, { "txid": "b0d371a5c796dee0c7145fd0e78312e206b18cb4470bc17a6b4ac577365fc397", "output": 0, "amount_msat": 499974680000, "scriptpubkey": "001487e61d75df2ac63ac93acf613bb434fc9d8856b8", "address": "bcrt1qslnp6awl9trr4jf6easnhdp5ljwcs44cj8u386", "status": "unconfirmed", "reserved": false }, { "txid": "b0d371a5c796dee0c7145fd0e78312e206b18cb4470bc17a6b4ac577365fc397", "output": 1, "amount_msat": 25000000, "scriptpubkey": "5120e754a8fa97173ac58ec45570151065cb9a467613b1421490a2a67b2ff665dc4f", "address": "bcrt1pua22375hzuavtrky24cp2yr9ewdyvasnk9ppfy9z5eajlan9m38sk4tdts", "status": "unconfirmed", "reserved": false } ], "channels": [ { "peer_id": "03b10090b33ea76c958ef7dba028c3969cdafad84279f628f5cedce568c8d4afd3", "connected": true, "state": "DUALOPEND_AWAITING_LOCKIN", "channel_id": "c3195ab76b03046a1a79d9b9e18c9b1b6b34e1e54ee6fb0febe013d53509435e", "our_amount_msat": 500000000000, "amount_msat": 500100000000, "funding_txid": "0b2aa013c8c90133f897a3a560ac2d67d79733b3dd03016f617c295483162111", "funding_output": 2 } ] }
Notice that a 25k sat output was created but this was not necessary because of the 1 billion sat output that already existed.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Here is my
listfunds
output before running thewithdraw
command:Now, I bumped the channel open using
withdraw
all
and I specified the change output using theutxos
param:And this is my
listfunds
after:Notice that a 25k sat output was created but this was not necessary because of the 1 billion sat output that already existed.
The text was updated successfully, but these errors were encountered: