What would be the exact command to prepare a transaction with multiple outputs, to a specific address?
I'm able to list all my outputs with lightning-cli listfunds
, but I'm not sure how to include them all in a transaction with txprepare
, so I can submit the transaction later.
If possible I would also like to set the fee as low as possible, i.e. 1 sat/b or lower.
txprepare outputs [feerate] [minconf] [utxos]
but I'm not completely sure how to specify several outputs. Also, the feerate will be per b or kw? – Realistic_Attitude85 Nov 15 '20 at 14:17