| 1 |
.\" Copyright 2023-2026 Soren Stoutner <[email protected]>. |
| 2 |
.\" |
| 3 |
.\" This file is part of the Debian package of Electrum. It is released under |
| 4 |
.\" either the Expat license (sometimes referred to as the MIT license) or the |
| 5 |
.\" GPLv3+, at the user's discretion. |
| 6 |
.\" <https://salsa.debian.org/cryptocoin-team/electrum> |
| 7 |
.\" |
| 8 |
.\" Expat license: |
| 9 |
.\" |
| 10 |
.\" Permission is hereby granted, free of charge, to any person obtaining |
| 11 |
.\" a copy of this software and associated documentation files (the |
| 12 |
.\" "Software"), to deal in the Software without restriction, including |
| 13 |
.\" without limitation the rights to use, copy, modify, merge, publish, |
| 14 |
.\" distribute, sublicense, and/or sell copies of the Software, and to |
| 15 |
.\" permit persons to whom the Software is furnished to do so, subject to |
| 16 |
.\" the following conditions: |
| 17 |
.\" |
| 18 |
.\" The above copyright notice and this permission notice shall be |
| 19 |
.\" included in all copies or substantial portions of the Software. |
| 20 |
.\" |
| 21 |
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 22 |
.\" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 23 |
.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
| 24 |
.\" NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE |
| 25 |
.\" LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION |
| 26 |
.\" OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
| 27 |
.\" WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 28 |
.\" |
| 29 |
.\" GPLv3+ license: |
| 30 |
.\" |
| 31 |
.\" This program is free software: you can redistribute it and/or modify it |
| 32 |
.\" under the terms of the GNU General Public License as published by the Free |
| 33 |
.\" Software Foundation, either version 3 of the License, or (at your option) |
| 34 |
.\" any later version. |
| 35 |
.\" |
| 36 |
.\" This program is distributed in the hope that it will be useful, but WITHOUT |
| 37 |
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| 38 |
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
| 39 |
.\" more details. |
| 40 |
.\" |
| 41 |
.\" You should have received a copy of the GNU General Public License |
| 42 |
.\" along with this program. If not, see <https://www.gnu.org/licenses/>. |
| 43 |
.\" |
| 44 |
.\" `.TP` is "Tag Paragraph". |
| 45 |
.\" `.B` is "Bold". |
| 46 |
.\" `.I` is "Italic (underlined)". |
| 47 |
.\" `.BR` is "Bold alternating Roman (not bold)". |
| 48 |
.\" `.BI` is "Bold alternating Italic (underlined)". |
| 49 |
.\" `.RI` is "Roman (not italic) alternating Italic (underlined)". |
| 50 |
.\" `.IR` is "Italic (underlined) alternating Roman (not underlined)". |
| 51 |
.\" `.br` is "Break Line". |
| 52 |
.\" `.RS` is "Relative margin (indent) Start". |
| 53 |
.\" `.RE` is "Relative margin (indend) End". |
| 54 |
|
| 55 |
.\" Title Header. |
| 56 |
.TH Electrum 1 "14 April 2026" "version 4.7.2" "Electrum User Manual" |
| 57 |
|
| 58 |
.\" Section Header - Name. |
| 59 |
.SH NAME |
| 60 |
electrum \- easy to use Bitcoin client |
| 61 |
|
| 62 |
|
| 63 |
.\" Section Header - Name. |
| 64 |
.SH SYNOPSIS |
| 65 |
|
| 66 |
.\" Launching with default options. |
| 67 |
.B electrum |
| 68 |
.br |
| 69 |
.RS |
| 70 |
Launch the Electrum GUI with the default options. |
| 71 |
.RE |
| 72 |
|
| 73 |
.\" Launching a specific URL. |
| 74 |
.B electrum |
| 75 |
.I url |
| 76 |
.br |
| 77 |
.RS |
| 78 |
Launch the Electrum GUI with a specific Bitcoin URI or a BIP70 file. |
| 79 |
See |
| 80 |
.I url |
| 81 |
for syntax information. |
| 82 |
.RE |
| 83 |
|
| 84 |
.\" Launching with global options, commands, and options. |
| 85 |
.B electrum |
| 86 |
.RI [ command ] |
| 87 |
.RI [ options ] |
| 88 |
.RI [ global_options ] |
| 89 |
.RI [ positional_arguments ] |
| 90 |
.br |
| 91 |
.RS |
| 92 |
Specify possible commands, options, global options, and positional arguments. |
| 93 |
.RE |
| 94 |
|
| 95 |
.\" List the options available for each command. |
| 96 |
.B electrum help |
| 97 |
.I command |
| 98 |
.br |
| 99 |
.RS |
| 100 |
List detailed help for the specified command. |
| 101 |
.RE |
| 102 |
|
| 103 |
|
| 104 |
.\" Section Header - Description. |
| 105 |
.SH DESCRIPTION |
| 106 |
Electrum is a lightweight Bitcoin wallet focused is speed, with low resource usage and simplifying Bitcoin. |
| 107 |
Startup times are instant because it operates in conjunction with high-performance servers that handle the most complicated parts of the Bitcoin system. |
| 108 |
|
| 109 |
Electrum has a list of possible options specific to each command as well as a set of global options. |
| 110 |
Some commands also accept positional arguments at the end of the options list. |
| 111 |
Running |
| 112 |
.B electrum help |
| 113 |
.I command |
| 114 |
will list the options and positional arguments compatible with that command. |
| 115 |
|
| 116 |
|
| 117 |
|
| 118 |
|
| 119 |
.\" Section Header - Commands. |
| 120 |
.SH COMMANDS |
| 121 |
|
| 122 |
.\" GUI. |
| 123 |
.TP |
| 124 |
.B gui |
| 125 |
Run the GUI. |
| 126 |
This is the default if no command is specified. |
| 127 |
May use the |
| 128 |
.I url |
| 129 |
positional argument. |
| 130 |
|
| 131 |
.\" Daemon. |
| 132 |
.TP |
| 133 |
.B daemon |
| 134 |
Run the daemon. |
| 135 |
|
| 136 |
.\" Add Hold Invoice. |
| 137 |
.TP |
| 138 |
.B add_hold_invoice |
| 139 |
Create a lightning hold invoice for the given payment hash. |
| 140 |
Hold invoices have to get settled manually later. |
| 141 |
HTLCs will get failed automatically if block_height + 144 > htlc.cltv_abs. |
| 142 |
Requires the |
| 143 |
.I payment_hash |
| 144 |
positional argument. |
| 145 |
|
| 146 |
.\" Add Peer. |
| 147 |
.TP |
| 148 |
.B add_peer |
| 149 |
Add a peer. |
| 150 |
Requires the |
| 151 |
.I connection_string |
| 152 |
positional argument. |
| 153 |
|
| 154 |
.\" Add Request. |
| 155 |
.TP |
| 156 |
.B add_request |
| 157 |
Create a payment request, using the first unused address of the wallet. |
| 158 |
The address will be considered as used after this operation. |
| 159 |
If no payment is received, the address will be considered as unused if the payment request is deleted from the wallet. |
| 160 |
Requires the |
| 161 |
.I amount |
| 162 |
positional argument. |
| 163 |
|
| 164 |
.\" Add Transaction. |
| 165 |
.TP |
| 166 |
.B addtransaction |
| 167 |
Add a transaction to the wallet history. |
| 168 |
Requires the |
| 169 |
.I tx |
| 170 |
positional argument. |
| 171 |
|
| 172 |
.\" Broadcast. |
| 173 |
.TP |
| 174 |
.B broadcast |
| 175 |
Broadcast a transaction to the network. |
| 176 |
Requires the |
| 177 |
.I tx |
| 178 |
positional argument. |
| 179 |
|
| 180 |
.\" Bump Fee. |
| 181 |
.TP |
| 182 |
.B bumpfee |
| 183 |
Bump the fee for an unconfirmed transaction. |
| 184 |
Requires the |
| 185 |
.IR tx " and " new_fee_rate |
| 186 |
positional arguments. |
| 187 |
|
| 188 |
.\" Cancel Hold Invoice. |
| 189 |
.TP |
| 190 |
.B cancel_hold_invoice |
| 191 |
Cancel a lightning hold invoice for the given payment hash. |
| 192 |
Requires the |
| 193 |
.I payment_hash |
| 194 |
positional argument. |
| 195 |
|
| 196 |
.\" Change Gap Limit. |
| 197 |
.TP |
| 198 |
.B changegaplimit |
| 199 |
Change the gap limit of the wallet. |
| 200 |
See https://support.ledger.com/hc/en-us/articles/360010892360-Address-gap-limit |
| 201 |
and https://blog.lopp.net/mind-the-bitcoin-address-gap/ for more information. |
| 202 |
Requires the |
| 203 |
.I new_limit |
| 204 |
positional argument. |
| 205 |
|
| 206 |
.\" Check Hold Invoice. |
| 207 |
.TP |
| 208 |
.B check_hold_invoice |
| 209 |
Checks the status of a lightning hold invoice 'payment_hash'. |
| 210 |
Requires the |
| 211 |
.I payment_hash |
| 212 |
positional argument. |
| 213 |
Returns: { |
| 214 |
"status": unpaid | paid | settled | unknown (cancelled or not found), |
| 215 |
"received_amount_sat": currently received amount (pending htlcs or final after settling), |
| 216 |
"invoice_amount_sat": Invoice amount, Optional (only if invoice is found), |
| 217 |
"closest_htlc_expiry_height": Closest absolute expiry height of all received htlcs |
| 218 |
(Note: HTLCs will get failed automatically if block_height + 144 > htlc_expiry_height) |
| 219 |
} |
| 220 |
|
| 221 |
.\" Clear Invoices. |
| 222 |
.TP |
| 223 |
.B clear_invoices |
| 224 |
Remove all invoices. |
| 225 |
|
| 226 |
.\" Clear Liquidity Blacklist. |
| 227 |
.TP |
| 228 |
.B clear_ln_blacklist |
| 229 |
Clear the Lightning blacklist. |
| 230 |
|
| 231 |
.\" Clear Requests. |
| 232 |
.TP |
| 233 |
.B clear_requests |
| 234 |
Remove all payment requests. |
| 235 |
|
| 236 |
.\" Close Channel. |
| 237 |
.TP |
| 238 |
.B close_channel |
| 239 |
Close a Lightning channel. |
| 240 |
Requires the |
| 241 |
.I channel_point |
| 242 |
positional argument. |
| 243 |
|
| 244 |
.\" Close Wallet. |
| 245 |
.TP |
| 246 |
.B close_wallet |
| 247 |
Close the wallet. |
| 248 |
|
| 249 |
.\" Commands. |
| 250 |
.TP |
| 251 |
.B commands |
| 252 |
List the available commands. |
| 253 |
|
| 254 |
.\" Convert Currency. |
| 255 |
.TP |
| 256 |
.B convert_currency |
| 257 |
Convert the given amount from one currency to another using the configured exchange rate source. |
| 258 |
|
| 259 |
.\" Convert XKey. |
| 260 |
.TP |
| 261 |
.B convert_xkey |
| 262 |
Convert the xtype of a master key. E.G. xpub -> ypub. |
| 263 |
Valid options are 'xprv', 'yprv', 'zprv', 'Yprv', 'Zprv', 'xpub', 'ypub', 'zpub', 'Ypub', and 'Zpub'. |
| 264 |
Requires the |
| 265 |
.IR xkey " and " xtype |
| 266 |
positional arguments. |
| 267 |
|
| 268 |
.\" Create Wallet. |
| 269 |
.TP |
| 270 |
.B create |
| 271 |
Create a new wallet. |
| 272 |
If you want to be prompted for an argument in a concealed fashion, use '?' or ':' for the argument value. |
| 273 |
|
| 274 |
.\" Create MultiSig Address. |
| 275 |
.TP |
| 276 |
.B createmultisig |
| 277 |
Create a MultiSig address. |
| 278 |
Requires the |
| 279 |
.IR num " and " pubkeys |
| 280 |
positional arguments. |
| 281 |
|
| 282 |
.\" Create New Address. |
| 283 |
.TP |
| 284 |
.B createnewaddress |
| 285 |
Create a new receiving address, beyond the gap limit of the wallet. |
| 286 |
See https://support.ledger.com/hc/en-us/articles/360010892360-Address-gap-limit |
| 287 |
and https://blog.lopp.net/mind-the-bitcoin-address-gap/ for more information. |
| 288 |
|
| 289 |
.\" Decode Invoice. |
| 290 |
.TP |
| 291 |
.B decode_invoice |
| 292 |
Decode an invoice. |
| 293 |
Requires the |
| 294 |
.I invoice |
| 295 |
positional argument. |
| 296 |
|
| 297 |
.\" Decrypt. |
| 298 |
.TP |
| 299 |
.B decrypt |
| 300 |
Decode a message encrypted with a public key. |
| 301 |
Requires the |
| 302 |
.IR pubkey " and " encrypted |
| 303 |
positional arguments. |
| 304 |
|
| 305 |
.\" Delete Invoice. |
| 306 |
.TP |
| 307 |
.B delete_invoice |
| 308 |
Delete an invoice. |
| 309 |
Requires the |
| 310 |
.I invoice_id |
| 311 |
positional argument. |
| 312 |
|
| 313 |
.\" Delete Request. |
| 314 |
.TP |
| 315 |
.B delete_request |
| 316 |
Delete a request. |
| 317 |
Requires the |
| 318 |
.I request_id |
| 319 |
positional argument. |
| 320 |
|
| 321 |
.\" Deserialize. |
| 322 |
.TP |
| 323 |
.B deserialize |
| 324 |
Delete a serialized transaction. |
| 325 |
Requires the |
| 326 |
.I tx |
| 327 |
positional argument. |
| 328 |
|
| 329 |
.\" Dump Private Keys. |
| 330 |
.TP |
| 331 |
.B dumpprivkeys |
| 332 |
This command is deprecated. |
| 333 |
|
| 334 |
.\" Enable Hashed Timelock Contract Settlement. |
| 335 |
.TP |
| 336 |
.B enable_htlc_settle |
| 337 |
Enable Hashed TimeLock Contract settlement. |
| 338 |
See https://www.investopedia.com/terms/h/hashed-timelock-contract.asp for more information. |
| 339 |
Requires the |
| 340 |
.I b |
| 341 |
positional argument. |
| 342 |
|
| 343 |
.\" Encrypt. |
| 344 |
.TP |
| 345 |
.B encrypt |
| 346 |
Encrypt a message with a public key. Use quotes if the message contains whitespace. |
| 347 |
Requires the |
| 348 |
.IR pubkey " and " message |
| 349 |
positional arguments. |
| 350 |
|
| 351 |
.\" Export Channel Backup. |
| 352 |
.TP |
| 353 |
.B export_channel_backup |
| 354 |
Export the channel backup. |
| 355 |
Requires the |
| 356 |
.I channel_point |
| 357 |
positional argument. |
| 358 |
|
| 359 |
.\" Export Lightning Preimage. |
| 360 |
.TP |
| 361 |
.B export_lightning_preimage |
| 362 |
Returns the stored preimage of the given payment_hash if it is known. |
| 363 |
Requires the |
| 364 |
.I payment_hash |
| 365 |
positional argument. |
| 366 |
|
| 367 |
.\" Freeze Address. |
| 368 |
.TP |
| 369 |
.B freeze |
| 370 |
Freeze the funds in one of your wallet's addresses. |
| 371 |
Requires the |
| 372 |
.I address |
| 373 |
positional argument. |
| 374 |
|
| 375 |
.\" Freeze UTXO. |
| 376 |
.TP |
| 377 |
.B freeze_utxo |
| 378 |
Freeze a UTXO (Unspent Transaction Output) so that the wallet will not spend it. |
| 379 |
See https://river.com/learn/bitcoins-utxo-model for more information. |
| 380 |
Requires the |
| 381 |
.I coin |
| 382 |
positional argument. |
| 383 |
|
| 384 |
.\" Get. |
| 385 |
.TP |
| 386 |
.B get |
| 387 |
Return an item from the wallet storage. |
| 388 |
Requires the |
| 389 |
.I key |
| 390 |
positional argument. |
| 391 |
|
| 392 |
.\" Get Blinded Path Via. |
| 393 |
.TP |
| 394 |
.B get_blinded_path_via |
| 395 |
Create a blinded path with node_id as introduction point. |
| 396 |
Introduction point must be direct peer of me. |
| 397 |
Requires the |
| 398 |
.I node_id |
| 399 |
positional argument. |
| 400 |
|
| 401 |
.\" Get Channel's Commitment Transaction. |
| 402 |
.TP |
| 403 |
.B get_channel_ctx |
| 404 |
Return the current channel's commitment transaction. |
| 405 |
Requires the |
| 406 |
.I channel_point |
| 407 |
positional argument. |
| 408 |
|
| 409 |
.\" Get Invoice. |
| 410 |
.TP |
| 411 |
.B get_invoice |
| 412 |
Return the specified invoice (request for outgoing payment). |
| 413 |
Requires the |
| 414 |
.I invoice_id |
| 415 |
positional argument. |
| 416 |
|
| 417 |
.\" Get Request. |
| 418 |
.TP |
| 419 |
.B get_request |
| 420 |
Return the specified payment request. |
| 421 |
Requires the |
| 422 |
.I request_id |
| 423 |
positional argument. |
| 424 |
|
| 425 |
.\" Get Transaction Status. |
| 426 |
.TP |
| 427 |
.B get_tx_status |
| 428 |
Return information regarding the transaction (for now, only the number of confirmations). |
| 429 |
The transaction must be related to the wallet. |
| 430 |
Requires the |
| 431 |
.I txid |
| 432 |
positional argument. |
| 433 |
|
| 434 |
.\" Get Watchtower CTN. |
| 435 |
.TP |
| 436 |
.B get_watchtower_ctn |
| 437 |
Return the local watchtower's CTN of channel. |
| 438 |
Used in regtests. |
| 439 |
Requires the |
| 440 |
.I channel_point |
| 441 |
positional argument. |
| 442 |
|
| 443 |
.\" Get Address Balance. |
| 444 |
.TP |
| 445 |
.B getaddressbalance |
| 446 |
Return the balance of a Bitcoin address. |
| 447 |
Note that this is a walletless server query, meaning that the results are not checked by SPV (Simple Payment Verification). |
| 448 |
Requires the |
| 449 |
.I address |
| 450 |
positional argument. |
| 451 |
|
| 452 |
.\" Get Address History. |
| 453 |
.TP |
| 454 |
.B getaddresshistory |
| 455 |
Return the transaction history of a Bitcoin address. |
| 456 |
Note that this is a walletless server query, meaning that the results are not checked by SPV (Simple Payment Verification). |
| 457 |
Requires the |
| 458 |
.I address |
| 459 |
positional argument. |
| 460 |
|
| 461 |
.\" Get Address Unspent. |
| 462 |
.TP |
| 463 |
.B getaddressunspent |
| 464 |
Return the UTXO (Unspent Transaction Output) list of a Bitcoin address. |
| 465 |
Note that this is a walletless server query, meaning that the results are not checked by SPV (Simple Payment Verification). |
| 466 |
Requires the |
| 467 |
.I address |
| 468 |
positional argument. |
| 469 |
|
| 470 |
.\" Get Alias. |
| 471 |
.TP |
| 472 |
.B getalias |
| 473 |
Retrieve an alias. This looks in your list of contacts, and for an OpenAlias DNS record. |
| 474 |
Requires the |
| 475 |
.I key |
| 476 |
positional argument. |
| 477 |
|
| 478 |
.\" Get Balance. |
| 479 |
.TP |
| 480 |
.B getbalance |
| 481 |
Return the balance of your wallet. |
| 482 |
|
| 483 |
.\" Get Config. |
| 484 |
.TP |
| 485 |
.B getconfig |
| 486 |
Return a configuration variable. |
| 487 |
Requires the |
| 488 |
.I key |
| 489 |
positional argument. |
| 490 |
|
| 491 |
.\" Get Fee Rate. |
| 492 |
.TP |
| 493 |
.B getfeerate |
| 494 |
Return the current suggested fee rate (in sat/kvByte), according to the config settings or the supplied parameters. |
| 495 |
|
| 496 |
.\" Get Network Info |
| 497 |
.TP |
| 498 |
.B getinfo |
| 499 |
Return the current network information. |
| 500 |
|
| 501 |
.\" Get Master Private Key |
| 502 |
.TP |
| 503 |
.B getmasterprivate |
| 504 |
Return the wallet's master private key. |
| 505 |
|
| 506 |
.\" Get Merkle. |
| 507 |
.TP |
| 508 |
.B getmerkle |
| 509 |
Return the Merkle branch of a transaction included in a block. |
| 510 |
Electrum uses this to verify transactions (Simple Payment Verification). |
| 511 |
Requires the |
| 512 |
.IR txid " and " height |
| 513 |
positional arguments. |
| 514 |
|
| 515 |
.\" Get Minimum Acceptable Gap. |
| 516 |
.TP |
| 517 |
.B getminacceptablegap |
| 518 |
Return the minimum value for gap limit that would be sufficient to discover all known addresses in the wallet. |
| 519 |
|
| 520 |
.\" Get Master Public Key. |
| 521 |
.TP |
| 522 |
.B getmpk |
| 523 |
Return the wallet's master public key. |
| 524 |
|
| 525 |
.\" Get Private Key For Path. |
| 526 |
.TP |
| 527 |
.B getprivatekeyforpath |
| 528 |
Return the private key corresponding to a derivation path (address index). |
| 529 |
.I path |
| 530 |
can be either a str such as "m/0/50" or a list of ints such as [0, 50]. |
| 531 |
See https://learnmeabitcoin.com/technical/derivation-paths for more information. |
| 532 |
Requires the |
| 533 |
.I path |
| 534 |
positional argument. |
| 535 |
|
| 536 |
.\" Get Private Keys. |
| 537 |
.TP |
| 538 |
.B getprivatekeys |
| 539 |
Return the private key of an address. You may pass a single wallet address or a list of wallet addresses. |
| 540 |
Requires the |
| 541 |
.I address |
| 542 |
positional argument. |
| 543 |
|
| 544 |
.\" Get Public Keys. |
| 545 |
.TP |
| 546 |
.B getpubkeys |
| 547 |
Return the public key of an address. |
| 548 |
Requires the |
| 549 |
.I address |
| 550 |
positional argument. |
| 551 |
|
| 552 |
.\" Get Seed. |
| 553 |
.TP |
| 554 |
.B getseed |
| 555 |
Return the wallet's generation seed phrase. |
| 556 |
|
| 557 |
.\" Get Servers. |
| 558 |
.TP |
| 559 |
.B getservers |
| 560 |
Return the list of known servers (connections candidates). |
| 561 |
|
| 562 |
.\" Get Transaction. |
| 563 |
.TP |
| 564 |
.B gettransaction |
| 565 |
Return a transaction. |
| 566 |
Requires the |
| 567 |
.I txid |
| 568 |
positional argument. |
| 569 |
|
| 570 |
.\" Get Unused Address. |
| 571 |
.TP |
| 572 |
.B getunusedaddress |
| 573 |
Return the wallet's first unused address, or None if all addresses are used. |
| 574 |
An address is considered to be used if it has received a transaction or if it is used in a payment request. |
| 575 |
|
| 576 |
.\" Help. |
| 577 |
.TP |
| 578 |
.B help |
| 579 |
Display help information. |
| 580 |
This is the same as the |
| 581 |
.BR -h " and " --help |
| 582 |
options. |
| 583 |
Calling |
| 584 |
.B help |
| 585 |
followed by another command will display specific options for that command.. |
| 586 |
|
| 587 |
\" Help Config. |
| 588 |
.TP |
| 589 |
.B helpconfig |
| 590 |
Returns help about a configuration variable. |
| 591 |
Requires the |
| 592 |
.I key |
| 593 |
positional argument. |
| 594 |
|
| 595 |
.\" Import Channel Backup. |
| 596 |
.TP |
| 597 |
.B import_channel_backup |
| 598 |
Import a channel backup. |
| 599 |
Requires the |
| 600 |
.I encrypted |
| 601 |
positional argument. |
| 602 |
|
| 603 |
.\" Import Private Key. |
| 604 |
.TP |
| 605 |
.B importprivkey |
| 606 |
Import a private key. |
| 607 |
If you want to be prompted for an argument in a concealed fashion, use '?' for the argument value. |
| 608 |
Requires the |
| 609 |
.I privkey |
| 610 |
positional argument. |
| 611 |
|
| 612 |
.\" Is Synchronized. |
| 613 |
.TP |
| 614 |
.B is_synchronized |
| 615 |
Return the wallet synchronization status. |
| 616 |
|
| 617 |
.\" Is Mine. |
| 618 |
.TP |
| 619 |
.B ismine |
| 620 |
Check if address is in the wallet. |
| 621 |
Requires the |
| 622 |
.I address |
| 623 |
positional argument. |
| 624 |
|
| 625 |
.\" Lightning History. |
| 626 |
.TP |
| 627 |
.B lightning_history |
| 628 |
Return the lightning history. |
| 629 |
|
| 630 |
.\" List Channels. |
| 631 |
.TP |
| 632 |
.B list_channels |
| 633 |
Return a list of the channels. |
| 634 |
|
| 635 |
.\" List Invoices. |
| 636 |
.TP |
| 637 |
.B list_invoices |
| 638 |
Return a list of invoices (requests for outgoing payments) saved in the wallet. |
| 639 |
|
| 640 |
.\" List Peers. |
| 641 |
.TP |
| 642 |
.B list_peers |
| 643 |
Return a list of lightning peers. |
| 644 |
|
| 645 |
.\" List Requests. |
| 646 |
.TP |
| 647 |
.B list_requests |
| 648 |
Return a list of incoming payment requests saved in the wallet. |
| 649 |
|
| 650 |
.\" List Wallets. |
| 651 |
.TP |
| 652 |
.B list_wallets |
| 653 |
Return a list of wallets open in the daemon. |
| 654 |
|
| 655 |
.\" List Addresses. |
| 656 |
.TP |
| 657 |
.B listaddresses |
| 658 |
Return a list of all addresses in the wallet. |
| 659 |
Use options to filter the results. |
| 660 |
|
| 661 |
.\" List Config. |
| 662 |
.TP |
| 663 |
.B listconfig |
| 664 |
Returns the list of all configuration variables. |
| 665 |
|
| 666 |
.\" List Contacts. |
| 667 |
.TP |
| 668 |
.B listcontacts |
| 669 |
Return a list of contacts. |
| 670 |
|
| 671 |
.\" List Unspent. |
| 672 |
.TP |
| 673 |
.B listunspent |
| 674 |
Return a list of unspent transaction outputs in the wallet. |
| 675 |
|
| 676 |
.\" Lightning Pay. |
| 677 |
.TP |
| 678 |
.B lnpay |
| 679 |
Lightning Pay. |
| 680 |
Requires the |
| 681 |
.I invoice |
| 682 |
positional argument. |
| 683 |
|
| 684 |
.\" Load Wallet. |
| 685 |
.TP |
| 686 |
.B load_wallet |
| 687 |
Load a wallet in the daemon. |
| 688 |
|
| 689 |
.\" Make Seed. |
| 690 |
.TP |
| 691 |
.B make_seed |
| 692 |
Create a seed. |
| 693 |
|
| 694 |
.\" Node ID. |
| 695 |
.TP |
| 696 |
.B nodeid |
| 697 |
Return the lightning node ID. |
| 698 |
|
| 699 |
.\" Normal Swap. |
| 700 |
.TP |
| 701 |
.B normal_swap |
| 702 |
Perform a normal submarine swap, which is to send on-chain BTC and receive on Lightning. |
| 703 |
Note that your funds will be locked for 24h if you do not have enough incoming capacity. |
| 704 |
Requires the |
| 705 |
.IR onchain_amount " and " lightning_amount |
| 706 |
positional arguments. |
| 707 |
|
| 708 |
.\" Notify. |
| 709 |
.TP |
| 710 |
.B notify |
| 711 |
Watch an address. |
| 712 |
Every time the address changes, a HTTP POST is sent to the URL. |
| 713 |
Call with an empty URL to stop watching an address. |
| 714 |
Requires the |
| 715 |
.IR address " and " URL |
| 716 |
positional arguments. |
| 717 |
|
| 718 |
.\" On-Chain History. |
| 719 |
.TP |
| 720 |
.B onchain_history |
| 721 |
Return the on-chain transaction history of the wallet. |
| 722 |
|
| 723 |
.\" On-Chain Capital Gains. |
| 724 |
.TP |
| 725 |
.B onchain_capital_gains |
| 726 |
Return the capital gains, using utxo pricing. This cannot be used with lightning. |
| 727 |
|
| 728 |
.\" Open Channel. |
| 729 |
.TP |
| 730 |
.B open_channel |
| 731 |
Open a channel. |
| 732 |
Requires the |
| 733 |
.IR connection_string " and " amount |
| 734 |
positional arguments. |
| 735 |
|
| 736 |
.\" Password. |
| 737 |
.TP |
| 738 |
.B password |
| 739 |
Change the wallet password. |
| 740 |
|
| 741 |
.\" Pay To. |
| 742 |
.TP |
| 743 |
.B payto |
| 744 |
Create a transaction. |
| 745 |
Requires the |
| 746 |
.IR destination " and " amount |
| 747 |
positional arguments. |
| 748 |
|
| 749 |
.\" paytomany. |
| 750 |
.TP |
| 751 |
.B paytomany |
| 752 |
Create a multi-output transaction. |
| 753 |
Requires the |
| 754 |
.I outputs |
| 755 |
positional argument. |
| 756 |
|
| 757 |
.\" Rebalance Channels. |
| 758 |
.TP |
| 759 |
.B rebalance_channels |
| 760 |
Rebalance the channels. |
| 761 |
If trampoline is used, the channels must be with different trampolines. |
| 762 |
Requires the |
| 763 |
.IR from_scid ", " dest_scid ", and " amount |
| 764 |
positional arguments. |
| 765 |
|
| 766 |
.\" Remove Local Transaction. |
| 767 |
.TP |
| 768 |
.B removelocaltx |
| 769 |
Remove a local transaction, and it dependent transactions, from the wallet. |
| 770 |
Requires the |
| 771 |
.I txid |
| 772 |
positional argument. |
| 773 |
|
| 774 |
.\" Request Force Close. |
| 775 |
.TP |
| 776 |
.B request_force_close |
| 777 |
Request the remove to force-close a channel. |
| 778 |
If a connection string is passed, it can be used without having a state or any backup for the channel. |
| 779 |
Assumes that the channel was originally opened with the same local peer (node_keypair). |
| 780 |
Requires the |
| 781 |
.I channel_point |
| 782 |
positional argument. |
| 783 |
|
| 784 |
.\" Reset Liquidity Hints. |
| 785 |
.TP |
| 786 |
.B reset_liquidity_hints |
| 787 |
Reset the liquidity hints. |
| 788 |
|
| 789 |
.\" Restore. |
| 790 |
.TP |
| 791 |
.B restore |
| 792 |
Restore a wallet from text, which can be a seed phrase, a master public key, a master private key, a list of Bitcoin addresses, or a list of Bitcoin private keys. |
| 793 |
If you want to be prompted for the text in a concealed fashion, use '?' or ':' for the argument value. |
| 794 |
Requires the |
| 795 |
.I text |
| 796 |
positional argument. |
| 797 |
|
| 798 |
.\" Reverse Swap. |
| 799 |
.TP |
| 800 |
.B reverse_swap |
| 801 |
Perform a reverse submarine swap, which is to send on Lightning and receive on-chain BTC. |
| 802 |
Requires the |
| 803 |
.IR lighting_amount " and " onchain_amount |
| 804 |
positional arguments. |
| 805 |
|
| 806 |
.\" Search Contacts. |
| 807 |
.TP |
| 808 |
.B searchcontacts |
| 809 |
Return contacts that match the query. |
| 810 |
Requires the |
| 811 |
.I query |
| 812 |
positional argument. |
| 813 |
|
| 814 |
.\" Send Onion Message. |
| 815 |
.TP |
| 816 |
.B send_onion_message |
| 817 |
Send an onion message with onionmsg_tlv.message payload to node_id. |
| 818 |
Requires the |
| 819 |
.IR node_id_or_blinded_path_hex " and " message |
| 820 |
positional arguments. |
| 821 |
|
| 822 |
.\" Serialize. |
| 823 |
.TP |
| 824 |
.B serialize |
| 825 |
Create a signed raw transaction from a JSON transaction template. |
| 826 |
An example value for the |
| 827 |
.I jsontx |
| 828 |
argument would be: { "inputs": [ {"prevout_hash": "9d221a69ca3997cbeaf5624d723e7dc5f829b1023078c177d37bdae95f37c539", "prevout_n": 1, "value_sats": 1000000, "privkey": "p2wpkh:cVDXzzQg6RoCTfiKpe8MBvmm5d5cJc6JLuFApsFDKwWa6F5TVHpD"} ], |
| 829 |
"outputs": [ {"address": "tb1q4s8z6g5jqzllkgt8a4har94wl8tg0k9m8kv5zd", "value_sats": 990000} ] }. |
| 830 |
Requires the |
| 831 |
.I jsontx |
| 832 |
positional argument. |
| 833 |
|
| 834 |
.\" Set Config. |
| 835 |
.TP |
| 836 |
.B setconfig |
| 837 |
Set a configuration variable. |
| 838 |
.I value |
| 839 |
may be a string or a Python expression. |
| 840 |
Requires the |
| 841 |
.IR key " and " value |
| 842 |
positional arguments. |
| 843 |
|
| 844 |
.\" Set Label. |
| 845 |
.TP |
| 846 |
.B setlabel |
| 847 |
Assign a label to a Bitcoin address or a transaction ID. |
| 848 |
Requires the |
| 849 |
.IR key " and " label |
| 850 |
positional arguments. |
| 851 |
|
| 852 |
.\" Settle Hold Invoice. |
| 853 |
.TP |
| 854 |
.B settle_hold_invoice |
| 855 |
Settle a lightning hold invoice with the given preimage. |
| 856 |
Doesn't block until actual settlement of the HTLCs. |
| 857 |
Requires the |
| 858 |
.I preimage |
| 859 |
positional argument. |
| 860 |
|
| 861 |
.\" Sign Message. |
| 862 |
.TP |
| 863 |
.B signmessage |
| 864 |
Sign a message with the address key. Use quotes if the message contain whitespaces. |
| 865 |
Requires the |
| 866 |
.IR address " and " message |
| 867 |
positional arguments. |
| 868 |
|
| 869 |
.\" Sign Transaction. |
| 870 |
.TP |
| 871 |
.B signtransaction |
| 872 |
Sign a transaction with the wallet keys. |
| 873 |
Requires the |
| 874 |
.I tx |
| 875 |
positional argument. |
| 876 |
|
| 877 |
.\" Sign Transaction With Private Key. |
| 878 |
.TP |
| 879 |
.B signtransaction_with_privkey |
| 880 |
Sign a transaction with the provided list of private keys. |
| 881 |
Requires the |
| 882 |
.IR tx " and " privkey |
| 883 |
positional argument. |
| 884 |
|
| 885 |
.\" Stop. |
| 886 |
.TP |
| 887 |
.B stop |
| 888 |
Stop the daemon. |
| 889 |
|
| 890 |
.\" Sweep. |
| 891 |
.TP |
| 892 |
.B sweep |
| 893 |
Sweep a private key, which return a transaction that spends UTXOs (Unspent Transaction Outputs) from the private key to a destination address. |
| 894 |
The transaction is not broadcast. |
| 895 |
Requires the |
| 896 |
.IR privkey " and " destination |
| 897 |
positional arguments. |
| 898 |
|
| 899 |
.\" Unfreeze Address. |
| 900 |
.TP |
| 901 |
.B unfreeze |
| 902 |
Unfreeze the funds in one of your wallet's addresses. |
| 903 |
Requires the |
| 904 |
.I address |
| 905 |
positional argument. |
| 906 |
|
| 907 |
.\" Unfreeze UTXO. |
| 908 |
.TP |
| 909 |
.B unfreeze_utxo |
| 910 |
Unfreeze a UTXO (Unspent Transaction Output) so that the wallet will can spend it. |
| 911 |
See https://river.com/learn/bitcoins-utxo-model for more information. |
| 912 |
Requires the |
| 913 |
.I coin |
| 914 |
positional argument. |
| 915 |
|
| 916 |
.\" Unset Config. |
| 917 |
.TP |
| 918 |
.B unsetconfig |
| 919 |
Clear a configuration variable. The variable will be reset to its default value. |
| 920 |
Requires the |
| 921 |
.I key |
| 922 |
positional argument. |
| 923 |
|
| 924 |
.\" Validate Address. |
| 925 |
.TP |
| 926 |
.B validateaddress |
| 927 |
Check that an address is valid. |
| 928 |
Requires the |
| 929 |
.I address |
| 930 |
positional argument. |
| 931 |
|
| 932 |
.\" Verify Message. |
| 933 |
.TP |
| 934 |
.B verifymessage |
| 935 |
Verify a message signature. |
| 936 |
Requires the |
| 937 |
.IR address ", " signature ", and " message |
| 938 |
positional arguments. |
| 939 |
|
| 940 |
.\" Version. |
| 941 |
.TP |
| 942 |
.B version |
| 943 |
Display the version information. |
| 944 |
This is the same as the |
| 945 |
.B --version |
| 946 |
option. |
| 947 |
|
| 948 |
.\" Version Information. |
| 949 |
.TP |
| 950 |
.B version_info |
| 951 |
Display information about dependencies, such as their version and path. |
| 952 |
|
| 953 |
.\" Wait for Sync. |
| 954 |
.TP |
| 955 |
.B wait_for_sync |
| 956 |
Block until the wallet synchronization finishes. |
| 957 |
|
| 958 |
|
| 959 |
|
| 960 |
|
| 961 |
.\" Section Header - Options. |
| 962 |
.SH OPTIONS |
| 963 |
|
| 964 |
.\" Help. |
| 965 |
.TP |
| 966 |
.BR -h ", " --help |
| 967 |
Display help information. |
| 968 |
This is the same as using the |
| 969 |
.B help |
| 970 |
command with no arguments. |
| 971 |
Can be used by any command. |
| 972 |
|
| 973 |
.\" Version. |
| 974 |
.TP |
| 975 |
.B --version |
| 976 |
Display the version. This is the same as using the |
| 977 |
.B version |
| 978 |
command. |
| 979 |
Typically used without any command. |
| 980 |
|
| 981 |
.\" Add Transaction. |
| 982 |
.TP |
| 983 |
.B --addtransaction |
| 984 |
Specify whether to add the transaction to the wallet, so that it can be used for broadcasting afterwards. |
| 985 |
Can be used by the |
| 986 |
.BR payto " and " paytomany |
| 987 |
commands. |
| 988 |
|
| 989 |
.\" Amount. |
| 990 |
.TP |
| 991 |
.BI --amount " AMOUNT" |
| 992 |
The requested amount (in BTC). |
| 993 |
Can be used by the |
| 994 |
.B add_hold_invoice |
| 995 |
command. |
| 996 |
|
| 997 |
.\" Balance. |
| 998 |
.TP |
| 999 |
.BR -b ", " --balance |
| 1000 |
Show the balances of the listed addresses. |
| 1001 |
Can be used by the |
| 1002 |
.B listaddresses |
| 1003 |
command. |
| 1004 |
|
| 1005 |
.\" Change Address. |
| 1006 |
.TP |
| 1007 |
.BI -c " CHANGE_ADDR" ", --change_addr" " CHANGE_ADDR" |
| 1008 |
Change the address. |
| 1009 |
The default is a spare address, or the source address if it is not in the wallet. |
| 1010 |
Can be used by the |
| 1011 |
.BR payto " and " paytomany |
| 1012 |
commands. |
| 1013 |
|
| 1014 |
.\" Change. |
| 1015 |
.TP |
| 1016 |
.B --change |
| 1017 |
Show only change addresses. |
| 1018 |
Can be used by the |
| 1019 |
.B listaddresses |
| 1020 |
command. |
| 1021 |
|
| 1022 |
.\" Connection String. |
| 1023 |
.TP |
| 1024 |
.BI --connection_string " CONNECTION_STRING" |
| 1025 |
The Lightning network node ID or network address. |
| 1026 |
Can be used by the |
| 1027 |
.B request_force_close |
| 1028 |
command. |
| 1029 |
|
| 1030 |
.\" Detached. |
| 1031 |
.TP |
| 1032 |
.BR -d ", " --detached |
| 1033 |
Run the daemon in detached mode. |
| 1034 |
Can be used by the |
| 1035 |
.B daemon |
| 1036 |
command. |
| 1037 |
|
| 1038 |
.\" Daemon. |
| 1039 |
.TP |
| 1040 |
.B --daemon |
| 1041 |
Keep the daemon running after the GUI exits. |
| 1042 |
Can be used by the |
| 1043 |
.B gui |
| 1044 |
command. |
| 1045 |
|
| 1046 |
.\" Decrease Payment. |
| 1047 |
.TP |
| 1048 |
.B --decrease_payment |
| 1049 |
Specify whether the payment amount will be decreased (true/false). |
| 1050 |
Can be used by the |
| 1051 |
.B bumpfee |
| 1052 |
command. |
| 1053 |
|
| 1054 |
.\" Dummy Hops. |
| 1055 |
.TP |
| 1056 |
.BI --dummy_hops " DUMMY_HOPS" |
| 1057 |
Number of dummy hops to add. |
| 1058 |
Can be used by the |
| 1059 |
.B get_blinded_path_via |
| 1060 |
command. |
| 1061 |
|
| 1062 |
.\" Encrypt File. |
| 1063 |
.TP |
| 1064 |
.BI --encrypt_file " ENCRYPT_FILE" |
| 1065 |
Specify whether the file on disk should be encrypted with the provided password. |
| 1066 |
Can be used by the |
| 1067 |
.BR create ", " password ", and " restore |
| 1068 |
commands. |
| 1069 |
|
| 1070 |
.\" Expired. |
| 1071 |
.TP |
| 1072 |
.B --expired |
| 1073 |
Show only expired requests. |
| 1074 |
Can be used by the |
| 1075 |
.BR list_invoices " and " list_requests |
| 1076 |
commands. |
| 1077 |
|
| 1078 |
.\" Expiry. |
| 1079 |
.TP |
| 1080 |
.BI --expiry " EXPIRY" |
| 1081 |
The expiry time in seconds (default: 3600s for invoices). |
| 1082 |
Can be used by the |
| 1083 |
.BR add_hold_invoice " and " add_request |
| 1084 |
commands. |
| 1085 |
|
| 1086 |
.\" Server Fingerprint. |
| 1087 |
.TP |
| 1088 |
.BI -f " SERVERFINGERPRINT" ", --serverfingerprint" " SERVERFINGERPRINT" |
| 1089 |
Only connect to servers with a matching SSL certificate SHA256 fingerprint. |
| 1090 |
To calculate this yourself: '$ openssl x509 -noout -fingerprint -sha256 -inform pem -in servercertfile.crt'. |
| 1091 |
The server fingerprint should be entered as 64 hexadecimal characters. |
| 1092 |
Can be used by the |
| 1093 |
.BR gui " and " daemon |
| 1094 |
commands. |
| 1095 |
|
| 1096 |
.\" Fee. |
| 1097 |
.TP |
| 1098 |
.BI -f " FEE" ", --fee" " FEE" |
| 1099 |
The transaction fee (absolute, in BTC). |
| 1100 |
Can be used by the |
| 1101 |
.BR payto ", " paytomany ", and " sweep |
| 1102 |
commands. |
| 1103 |
|
| 1104 |
.\" From Address. |
| 1105 |
.TP |
| 1106 |
.BI -F " FROM_ADDR" ", --from_addr" " FROM_ADDR" |
| 1107 |
The source address, which must be a wallet address. Use |
| 1108 |
.B sweep |
| 1109 |
to spend from a non-wallet address. |
| 1110 |
Can be used by the |
| 1111 |
.BR payto " and " paytomany |
| 1112 |
commands. |
| 1113 |
|
| 1114 |
.\" Fee Rate. |
| 1115 |
.TP |
| 1116 |
.BI --feerate " FEERATE" |
| 1117 |
The transaction fee rate (in sat/byte). |
| 1118 |
Can be used by the |
| 1119 |
.BR payto " and " paytomany |
| 1120 |
commands. |
| 1121 |
|
| 1122 |
.\" Fee Level. |
| 1123 |
.TP |
| 1124 |
.BI --fee_level " FEE_LEVEL" |
| 1125 |
A float between 0.0 and 1.0, representing the fee slider position. |
| 1126 |
Can be used by the |
| 1127 |
.B getfeerate |
| 1128 |
command. |
| 1129 |
|
| 1130 |
.\" Fee Method. |
| 1131 |
.TP |
| 1132 |
.BI --fee_method " FEE_METHOD" |
| 1133 |
The fee estimation method to use. |
| 1134 |
Can be used by the |
| 1135 |
.B getfeerate |
| 1136 |
command. |
| 1137 |
|
| 1138 |
.\" Force. |
| 1139 |
.TP |
| 1140 |
.B --force |
| 1141 |
Create a new address beyond the gap limit if no more addresses are available. |
| 1142 |
Can be used by the |
| 1143 |
.B add_request |
| 1144 |
command. |
| 1145 |
|
| 1146 |
.\" Forget Config. |
| 1147 |
.TP |
| 1148 |
.B --forgetconfig |
| 1149 |
Forget the config on exit. |
| 1150 |
Can be used by the |
| 1151 |
.BR gui ", " add_peer ", " add_request ", " addtransaction ", " bumpfee ", " changegaplimit ", " clear_invoices ", " clear_requests ", " close_channel ", " close_wallet ", " create ", " createnewaddress ", " decrypt ", " |
| 1152 |
.BR delete_invoice ", " delete_request ", " enable_htlc_settle ", " export_channel_backup ", " freeze ", " freeze_utxo ", " get ", " get_channel_ctx ", " get_invoice ", " get_request ", " get_tx_status ", " |
| 1153 |
.BR get_watchtower_ctn ", " getalias ", " getbalance ", " getmasterprivate ", " getminacceptablegap ", " getmpk ", " getprivatekeyforpath ", " getprivatekeys ", " getpubkeys ", " getseed ", " gettransaction ", " getunusedaddress ", " |
| 1154 |
.BR import_channel_backup ", " importprivkey ", " is_synchronized ", " ismine ", " lightning_history ", " list_channels ", " list_invoices ", " list_peers ", " list_requests ", " listaddresses ", " listcontacts ", " listunspent ", " |
| 1155 |
.BR lnpay ", " load_wallet ", " nodeid ", " normal_swap ", " onchain_history ", " open_channel ", " password ", " payto ", " paytomany ", " rebalance_channels ", " removelocaltx ", " request_force_close ", " restore ", " reverse_swap ", " |
| 1156 |
.BR searchcontacts ", " setlabel ", " signmessage ", " signtransaction ", " unfreeze ", and " unfreeze_utxo |
| 1157 |
commands. |
| 1158 |
|
| 1159 |
.\" From Amount. |
| 1160 |
.TP |
| 1161 |
.BI --from_amount " FROM_AMOUNT" |
| 1162 |
The amount to convert (the default is 1). |
| 1163 |
Can be used by the |
| 1164 |
.B convert_currency |
| 1165 |
command. |
| 1166 |
|
| 1167 |
.\" From Currency. |
| 1168 |
.TP |
| 1169 |
.BI --from_ccy " FROM_CCY" |
| 1170 |
The currency to convert from. |
| 1171 |
Can be used by the |
| 1172 |
.B convert_currency |
| 1173 |
command. |
| 1174 |
|
| 1175 |
.\" From Coins. |
| 1176 |
.TP |
| 1177 |
.BI --from_coins " FROM_COINS" |
| 1178 |
The source coins, which must be in the wallet. |
| 1179 |
Use |
| 1180 |
.B sweep |
| 1181 |
to spend from a non-wallet address. |
| 1182 |
Can be used by the |
| 1183 |
.BR bumpfee ", " payto ", and " paytomany |
| 1184 |
commands. |
| 1185 |
|
| 1186 |
.\" From Height. |
| 1187 |
.TP |
| 1188 |
.BI --from_height " FROM_HEIGHT" |
| 1189 |
Only show transactions that confirmed after the specified block height. |
| 1190 |
Can be used by the |
| 1191 |
.B onchain_history |
| 1192 |
command. |
| 1193 |
|
| 1194 |
.\" Frozen. |
| 1195 |
.TP |
| 1196 |
.B --frozen |
| 1197 |
Show only frozen addresses. |
| 1198 |
Can be used by the |
| 1199 |
.B listaddresses |
| 1200 |
command. |
| 1201 |
|
| 1202 |
.\" Funded. |
| 1203 |
.TP |
| 1204 |
.B --funded |
| 1205 |
Show only funded addresses. |
| 1206 |
Can be used by the |
| 1207 |
.B listaddresses |
| 1208 |
command. |
| 1209 |
|
| 1210 |
.\" GUI Type. |
| 1211 |
.TP |
| 1212 |
.BI -g " GUI" ", --GUI" " GUI" |
| 1213 |
Specify the GUI. |
| 1214 |
Valid arguments are 'qt', 'kivy', 'text', 'stdio', and 'qml'. |
| 1215 |
The default is Qt. |
| 1216 |
Kivy and QML are used for the Android GUI and are not included in the Debian package. |
| 1217 |
The text dependencies are also not included in the Debian package. |
| 1218 |
Can be used by the |
| 1219 |
.B gui |
| 1220 |
command. |
| 1221 |
|
| 1222 |
.\" Gossip. |
| 1223 |
.TP |
| 1224 |
.B --gossip |
| 1225 |
Apply the command to the gossip node instead of the wallet. |
| 1226 |
Can be used by the |
| 1227 |
.BR add_peer " and " list_peers |
| 1228 |
commands. |
| 1229 |
|
| 1230 |
.\" I Know What I Am Doing. |
| 1231 |
.TP |
| 1232 |
.B --iknowwhatiamdoing |
| 1233 |
Acknowledge that you understand the full implications of what you are about to do. |
| 1234 |
Can be used by the |
| 1235 |
.BR changegaplimit " and " get_channel_ctx |
| 1236 |
commands. |
| 1237 |
|
| 1238 |
.\" Maximum Inputs. |
| 1239 |
.TP |
| 1240 |
.BI --imax " IMAX" |
| 1241 |
Specify the maximum number of inputs. |
| 1242 |
Can be used by the |
| 1243 |
.B sweep |
| 1244 |
command. |
| 1245 |
|
| 1246 |
.\" Labels. |
| 1247 |
.TP |
| 1248 |
.BR -l ", " --labels |
| 1249 |
Show the labels of the listed addresses. |
| 1250 |
Can be used by the |
| 1251 |
.B listaddresses |
| 1252 |
command. |
| 1253 |
|
| 1254 |
.\" Language. |
| 1255 |
.TP |
| 1256 |
.BI -L " LANGUAGE" ", --lang" " LANGUAGE" |
| 1257 |
Specify the language. |
| 1258 |
Can be used by the |
| 1259 |
.BR gui " and " make_seed |
| 1260 |
commands. |
| 1261 |
|
| 1262 |
.\" Locktime. |
| 1263 |
.TP |
| 1264 |
.BI --locktime " LOCKTIME" |
| 1265 |
Set the locktime block number. |
| 1266 |
Can be used by the |
| 1267 |
.BR payto " and " paytomany |
| 1268 |
commands. |
| 1269 |
|
| 1270 |
.\" Memo. |
| 1271 |
.TP |
| 1272 |
.BI --memo " MEMO" |
| 1273 |
The description of the invoice or request. |
| 1274 |
Can be used by the |
| 1275 |
.BR add_hold_invoice " and " add_request |
| 1276 |
commands. |
| 1277 |
|
| 1278 |
.\" Min Final CLTV Expiry Delta. |
| 1279 |
.TP |
| 1280 |
.BI --min_final_cltv_expiry_delta " MIN_FINAL_CLTV_EXPIRY_DELTA" |
| 1281 |
The min final cltv expiry delta (default: 294 blocks). |
| 1282 |
Can be used by the |
| 1283 |
.B add_hold_invoice |
| 1284 |
command. |
| 1285 |
|
| 1286 |
.\" New Password. |
| 1287 |
.TP |
| 1288 |
.BI --new_password " NEW_PASSWORD" |
| 1289 |
The new password. |
| 1290 |
Can be used by the |
| 1291 |
.B password |
| 1292 |
command. |
| 1293 |
|
| 1294 |
.\" Number of Bits. |
| 1295 |
.TP |
| 1296 |
.BI --nbits " NBITS" |
| 1297 |
The number of bits of entropy. |
| 1298 |
Can be used by the |
| 1299 |
.B make_seed |
| 1300 |
command. |
| 1301 |
|
| 1302 |
.\" No Check. |
| 1303 |
.TP |
| 1304 |
.B --nocheck |
| 1305 |
Do not verify aliases. |
| 1306 |
Can be used by the |
| 1307 |
.BR payto ", " paytomany ", and " sweep |
| 1308 |
commands. |
| 1309 |
|
| 1310 |
.\" No Onion. |
| 1311 |
.TP |
| 1312 |
.B --noonion |
| 1313 |
Do not connect to onion servers. |
| 1314 |
Can be used by the |
| 1315 |
.BR gui " and " daemon |
| 1316 |
commands. |
| 1317 |
|
| 1318 |
.\" No Segwit. |
| 1319 |
.TP |
| 1320 |
.B --nosegwit |
| 1321 |
Do not create SegWit (Segregated Witness) wallets. |
| 1322 |
See https://en.wikipedia.org/wiki/SegWit for more information. |
| 1323 |
Can be used by the |
| 1324 |
.B gui |
| 1325 |
command. |
| 1326 |
|
| 1327 |
.\" One Server. |
| 1328 |
.TP |
| 1329 |
.BR -1 ", " --oneserver |
| 1330 |
Only connect to one server. |
| 1331 |
Can be used by the |
| 1332 |
Can be used by the |
| 1333 |
.BR gui " and " daemon |
| 1334 |
commands. |
| 1335 |
|
| 1336 |
.\" Proxy. |
| 1337 |
.TP |
| 1338 |
.BI -p " PROXY" ", --proxy" " PROXY" |
| 1339 |
Specify the proxy using the |
| 1340 |
.RI [ type :] host [: port ] |
| 1341 |
syntax (or 'none' to disable the proxy), where type is either 'socks4', 'socks5', or 'http'. |
| 1342 |
Can be used by the |
| 1343 |
.BR gui " and " daemon |
| 1344 |
commands. |
| 1345 |
|
| 1346 |
.\" Paid. |
| 1347 |
.TP |
| 1348 |
.B --paid |
| 1349 |
Show only paid requests. |
| 1350 |
Can be used by the |
| 1351 |
.BR list_invoices " and " list_requests |
| 1352 |
commands. |
| 1353 |
|
| 1354 |
.\" Passphrase. |
| 1355 |
.TP |
| 1356 |
.BI --passphrase " PASSPHRASE" |
| 1357 |
The seed extension. |
| 1358 |
Can be used by the |
| 1359 |
.BR create " and " restore |
| 1360 |
commands. |
| 1361 |
|
| 1362 |
.\" Pending. |
| 1363 |
.TP |
| 1364 |
.B --pending |
| 1365 |
Show only pending requests. |
| 1366 |
Can be used by the |
| 1367 |
.BR list_invoices " and " list_requests |
| 1368 |
commands. |
| 1369 |
|
| 1370 |
.\" Push Amount. |
| 1371 |
.TP |
| 1372 |
.BI --push_amount " PUSH_AMOUNT" |
| 1373 |
The push initial amount (in BTC). |
| 1374 |
Can be used by the |
| 1375 |
.B open_channel |
| 1376 |
command. |
| 1377 |
|
| 1378 |
.\" Replace By Fee. |
| 1379 |
.TP |
| 1380 |
.BI --rbf " RBF" |
| 1381 |
Specify whether to signal opt-in Replace-By-Fee in the transaction (true/false). |
| 1382 |
Can be used by the |
| 1383 |
.B payto " and " paytomany |
| 1384 |
commands. |
| 1385 |
|
| 1386 |
.\" Receiving. |
| 1387 |
.TP |
| 1388 |
.B --receiving |
| 1389 |
Show only receiving addresses. |
| 1390 |
Can be used by the |
| 1391 |
.B listaddresses |
| 1392 |
command. |
| 1393 |
|
| 1394 |
.\" RPC Host. |
| 1395 |
.TP |
| 1396 |
.BI --rpchost " RPCHOST" |
| 1397 |
The RPC host used by the RPC daemon. |
| 1398 |
See https://electrum.readthedocs.io/en/latest/jsonrpc.html for more information. |
| 1399 |
Can be used by the |
| 1400 |
.B daemon |
| 1401 |
command. |
| 1402 |
|
| 1403 |
.\" RPC Port. |
| 1404 |
.TP |
| 1405 |
.BI --rpcport " RPCPORT" |
| 1406 |
The RPC port used by the RPC daemon. |
| 1407 |
See https://electrum.readthedocs.io/en/latest/jsonrpc.html for more information. |
| 1408 |
Can be used by the |
| 1409 |
.B daemon |
| 1410 |
command. |
| 1411 |
|
| 1412 |
.\" RPC Socket Type. |
| 1413 |
.TP |
| 1414 |
.BI --rpcsock " TYPE" |
| 1415 |
The RPC socket type used by the RPC daemon. |
| 1416 |
Valid arguments are 'unix', 'tcp', and 'auto'. |
| 1417 |
See https://electrum.readthedocs.io/en/latest/jsonrpc.html for more information. |
| 1418 |
Can be used by the |
| 1419 |
.B daemon |
| 1420 |
command. |
| 1421 |
|
| 1422 |
.\" RPC Socket Location. |
| 1423 |
.TP |
| 1424 |
.BI --rpcsockpath " TYPE" |
| 1425 |
The RPC socket file location used by the RPC daemon. |
| 1426 |
See https://electrum.readthedocs.io/en/latest/jsonrpc.html for more information. |
| 1427 |
Can be used by the |
| 1428 |
.B daemon |
| 1429 |
command. |
| 1430 |
|
| 1431 |
.\" Server. |
| 1432 |
.TP |
| 1433 |
.BI -s " SERVER" ", --server" " SERVER" |
| 1434 |
Specify the server using the |
| 1435 |
.IR host : port : protocol |
| 1436 |
syntax, where protocol is either 't' (TCP) or 's' (SSL). |
| 1437 |
Can be used by the |
| 1438 |
.BR gui " and " daemon |
| 1439 |
commands. |
| 1440 |
|
| 1441 |
.\" Seed Type. |
| 1442 |
.TP |
| 1443 |
.BI --seed_type " SEED_TYPE" |
| 1444 |
Specify the seed type. |
| 1445 |
Valid arguments are 'standard', 'segwit', '2fa', and '2fa_segwit'. |
| 1446 |
The default is 'segwit'. |
| 1447 |
Can be used by the |
| 1448 |
.BR create " and " make_seed |
| 1449 |
commands. |
| 1450 |
|
| 1451 |
.\" Show Addresses. |
| 1452 |
.TP |
| 1453 |
.B --show_addresses |
| 1454 |
Show the input and output addresses. |
| 1455 |
Can be used by the |
| 1456 |
.B onchain_history |
| 1457 |
command. |
| 1458 |
|
| 1459 |
.\" Show Fiat. |
| 1460 |
.TP |
| 1461 |
.B --show_fiat |
| 1462 |
Show the fiat value of transactions. |
| 1463 |
Can be used by the |
| 1464 |
.BR lightning_history " and " onchain_history |
| 1465 |
commands. |
| 1466 |
|
| 1467 |
.\" Skip Merkle Check. |
| 1468 |
.TP |
| 1469 |
.B --skipmerklecheck |
| 1470 |
Tolerate invalid Merkle proofs from the server. |
| 1471 |
See https://medium.com/crypto-0-nite/merkle-proofs-explained-6dd429623dc5 for more information. |
| 1472 |
Can be used by the |
| 1473 |
.BR gui " and " daemon |
| 1474 |
commands. |
| 1475 |
|
| 1476 |
.\" Timeout. |
| 1477 |
.TP |
| 1478 |
.BI --timeout " TIMEOUT" |
| 1479 |
The timeout in seconds. |
| 1480 |
Can be used by the |
| 1481 |
.BR add_peer " and " lnpay |
| 1482 |
commands. |
| 1483 |
|
| 1484 |
.\" To Currency. |
| 1485 |
.TP |
| 1486 |
.BI --to_ccy " TO_CCY" |
| 1487 |
The currency to convert to. |
| 1488 |
Can be used by the |
| 1489 |
.B convert_currency |
| 1490 |
command. |
| 1491 |
|
| 1492 |
.\" To Height. |
| 1493 |
.TP |
| 1494 |
.BI --to_height " TO_HEIGHT" |
| 1495 |
Only show transactions that confirmed before the specified block height. |
| 1496 |
Can be used by the |
| 1497 |
.B onchain_history |
| 1498 |
command. |
| 1499 |
|
| 1500 |
.\" Unsigned. |
| 1501 |
.TP |
| 1502 |
.BR -u ", " --unsigned |
| 1503 |
Do not sign the transaction. |
| 1504 |
Can be used by the |
| 1505 |
.BR bumpfee ", " payto ", and " paytomany |
| 1506 |
commands. |
| 1507 |
|
| 1508 |
.\" Receiving. |
| 1509 |
.TP |
| 1510 |
.B --unused |
| 1511 |
Show only unused addresses. |
| 1512 |
Can be used by the |
| 1513 |
.B listaddresses |
| 1514 |
command. |
| 1515 |
|
| 1516 |
.\" Wallet Path. |
| 1517 |
.TP |
| 1518 |
.BI -w " WALLET_PATH" ", --wallet" " WALLET_PATH" |
| 1519 |
Set the wallet path. |
| 1520 |
Can be used by the |
| 1521 |
.BR gui ", " add_peer ", " add_request ", " addtransaction ", " bumpfee ", " changegaplimit ", " clear_invoices ", " clear_requests ", " close_channel ", " close_wallet ", " create ", " createnewaddress ", " decrypt ", " |
| 1522 |
.BR delete_invoice ", " delete_request ", " enable_htlc_settle ", " export_channel_backup ", " freeze ", " freeze_utxo ", " get ", " get_channel_ctx ", " get_invoice ", " get_request ", " get_tx_status ", " |
| 1523 |
.BR get_watchtower_ctn ", " getalias ", " getbalance ", " getmasterprivate ", " getminacceptablegap ", " getmpk ", " getprivatekeyforpath ", " getprivatekeys ", " getpubkeys ", " getseed ", " gettransaction ", " getunusedaddress ", " |
| 1524 |
.BR import_channel_backup ", " importprivkey ", " is_synchronized ", " ismine ", " lightning_history ", " list_channels ", " list_invoices ", " list_peers ", " list_requests ", " listaddresses ", " listcontacts ", " listunspent ", " |
| 1525 |
.BR lnpay ", " load_wallet ", " nodeid ", " normal_swap ", " onchain_history ", " open_channel ", " password ", " payto ", " paytomany ", " rebalance_channels ", " removelocaltx ", " request_force_close ", " restore ", " reverse_swap ", " |
| 1526 |
.BR searchcontacts ", " setlabel ", " signmessage ", " signtransaction ", " unfreeze ", and " unfreeze_utxo |
| 1527 |
commands. |
| 1528 |
|
| 1529 |
.\" Password. |
| 1530 |
.TP |
| 1531 |
.BI -W " PASSWORD" ", --password" " PASSWORD" |
| 1532 |
The password. |
| 1533 |
Can be used by the |
| 1534 |
.BR bumpfee ", " create ", " decrypt ", " getmasterprivate ", " getprivatekeyforpath ", " getprivatekeys ", " getseed ", " importprivkey ", " load_wallet ", " normal_swap ", " open_channel ", " password ", " payto ", " paytomany ", " |
| 1535 |
.BR restore ", " signmessage ", and " signtransaction |
| 1536 |
commands. |
| 1537 |
|
| 1538 |
.\" Receiving. |
| 1539 |
.TP |
| 1540 |
.BI --year " YEAR" |
| 1541 |
Show history for a given year. |
| 1542 |
Can be used by the |
| 1543 |
.BR onchain_history " and " onchain_capital_gains |
| 1544 |
commands. |
| 1545 |
|
| 1546 |
|
| 1547 |
|
| 1548 |
|
| 1549 |
.\" Section Header - Global Options. |
| 1550 |
.SH GLOBAL OPTIONS |
| 1551 |
|
| 1552 |
.\" Electrum Path. |
| 1553 |
.TP |
| 1554 |
.BI -D " ELECTRUM_PATH" ", --dir" " ELECTRUM_PATH" |
| 1555 |
Set the electrum data directory. The default is ~/.electrum. |
| 1556 |
|
| 1557 |
.\" Offline. |
| 1558 |
.TP |
| 1559 |
.BR -o ", " --offline |
| 1560 |
Run electrum in offline mode. |
| 1561 |
|
| 1562 |
.\" Portable. |
| 1563 |
.TP |
| 1564 |
.BR -P ", " --portable |
| 1565 |
Run electrum in portable mode, which uses ./electrum_data (electrum_data in the current directory) instead of ~/.electrum for the data directory. |
| 1566 |
|
| 1567 |
.\" RPC User. |
| 1568 |
.TP |
| 1569 |
.BI --rpcuser " RPCUSER" |
| 1570 |
Set the RPC user. |
| 1571 |
See https://electrum.readthedocs.io/en/latest/jsonrpc.html for more information. |
| 1572 |
|
| 1573 |
.\" RPC Password. |
| 1574 |
.TP |
| 1575 |
.BI --rpcpassword " RPCPASSWORD" |
| 1576 |
Set the RPC password. |
| 1577 |
See https://electrum.readthedocs.io/en/latest/jsonrpc.html for more information. |
| 1578 |
|
| 1579 |
.\" Regtest. |
| 1580 |
.TP |
| 1581 |
.B --regtest |
| 1582 |
Run in regtest (regression test) mode. |
| 1583 |
The default data directory is ~/.electrum/regtest. |
| 1584 |
See https://developer.bitcoin.org/examples/testing.html and https://bitcoin.stackexchange.com/questions/98462/how-to-use-electrum-with-a-local-regtest-network for more information. |
| 1585 |
|
| 1586 |
.\" Simnet. |
| 1587 |
.TP |
| 1588 |
.B --simnet |
| 1589 |
Run in simnet (simulation test network) mode. |
| 1590 |
The default data directory is ~/.electrum/simnet. |
| 1591 |
See https://bitcoin.stackexchange.com/questions/81260/bitcoin-node-what-is-the-difference-between-simnet-and-regtest for more information. |
| 1592 |
|
| 1593 |
.\" Signet. |
| 1594 |
.TP |
| 1595 |
.B --signet |
| 1596 |
Run in signet (signature network), which is similar to testnet but adds a signature requirement for block verification. |
| 1597 |
The default data directory is ~./electrum/signet. |
| 1598 |
See https://en.bitcoin.it/wiki/Signet for more information. |
| 1599 |
|
| 1600 |
.\" Testnet. |
| 1601 |
.TP |
| 1602 |
.B --testnet |
| 1603 |
Run in testnet mode, which connects to Bitcoin's testnet network instead of the mainnet one. |
| 1604 |
The coins on testnet have no value, which allows users to safely test functionality without risk. |
| 1605 |
The default data directory is ~/.electrum/testnet. |
| 1606 |
See https://developer.bitcoin.org/examples/testing.html for more information. |
| 1607 |
|
| 1608 |
.\" Verbosity. |
| 1609 |
.TP |
| 1610 |
.BI -v " VERBOSITY" |
| 1611 |
Set the verbosity (log level). |
| 1612 |
|
| 1613 |
.\" Verbosity Shortcuts. |
| 1614 |
.TP |
| 1615 |
.BI -V " VERBOSITY_SHORTCUTS" |
| 1616 |
Set the verbosity (shortcut-filter list). |
| 1617 |
|
| 1618 |
|
| 1619 |
|
| 1620 |
|
| 1621 |
.\" Section Header - Positional Arguments. |
| 1622 |
.SH POSITIONAL ARGUMENTS |
| 1623 |
|
| 1624 |
.\" Address. |
| 1625 |
.TP |
| 1626 |
.I address |
| 1627 |
The Bitcoin address. |
| 1628 |
Can be used by the |
| 1629 |
.BR freeze ", " getaddressbalance ", " getaddresshistory ", " getaddressunspent ", " getprivatekeys ", " getpubkeys ", " ismine ", " notify ", " signmessage ", " unfreeze ", " validateaddress ", and " verifymessage |
| 1630 |
commands. |
| 1631 |
|
| 1632 |
.\" Amount. |
| 1633 |
.TP |
| 1634 |
.I amount |
| 1635 |
The amount to be sent (in BTC). Use '!' to send the maximum available. |
| 1636 |
Can be used by the |
| 1637 |
.BR add_request ", " open_channel ", " payto ", and " rebalance_channels |
| 1638 |
commands. |
| 1639 |
|
| 1640 |
.\" B. |
| 1641 |
.TP |
| 1642 |
.I b |
| 1643 |
B. |
| 1644 |
Can be used by the |
| 1645 |
.B enable_htlc_settle |
| 1646 |
command. |
| 1647 |
|
| 1648 |
.\" Channel Point. |
| 1649 |
.TP |
| 1650 |
.I channel_point |
| 1651 |
The channel point. |
| 1652 |
Can be used by the |
| 1653 |
.BR close_channel ", " export_channel_backup ", " get_channel_ctx ", " get_watchtower_ctn ", and " request_force_close |
| 1654 |
commands. |
| 1655 |
|
| 1656 |
.\" Coin. |
| 1657 |
.TP |
| 1658 |
.I coin |
| 1659 |
The coin, otherwise known as the UTXO (Unspent Transaction Output). |
| 1660 |
Can be used by the |
| 1661 |
.BR freeze_utxo " and " unfreeze_utxo |
| 1662 |
commands. |
| 1663 |
|
| 1664 |
.\" Connection String. |
| 1665 |
.TP |
| 1666 |
.I connection_string |
| 1667 |
The Lightning network node ID or network address. |
| 1668 |
Can be used by the |
| 1669 |
.BR add_peer " and " open_channel |
| 1670 |
commands. |
| 1671 |
|
| 1672 |
.\" Destination SCID. |
| 1673 |
.TP |
| 1674 |
.I dest_scid |
| 1675 |
The destination Short Channel Identifier. |
| 1676 |
Can be used by the |
| 1677 |
.B rebalance_channels |
| 1678 |
command. |
| 1679 |
|
| 1680 |
.\" Destination. |
| 1681 |
.TP |
| 1682 |
.I destination |
| 1683 |
A Bitcoin address, contact, or alias. |
| 1684 |
Can be used by the |
| 1685 |
.BR payto " and " sweep |
| 1686 |
commands. |
| 1687 |
|
| 1688 |
.\" Encrypted. |
| 1689 |
.TP |
| 1690 |
.I encrypted |
| 1691 |
The encrypted message. |
| 1692 |
Can be used by the |
| 1693 |
.BR decrypt " and " import_channel_backup |
| 1694 |
commands. |
| 1695 |
|
| 1696 |
.\" From SCID. |
| 1697 |
.TP |
| 1698 |
.I from_scid |
| 1699 |
The from Short Channel Identifier. |
| 1700 |
Can be used by the |
| 1701 |
.B rebalance_channels |
| 1702 |
command. |
| 1703 |
|
| 1704 |
.\" Height. |
| 1705 |
.TP |
| 1706 |
.I height |
| 1707 |
The block height. |
| 1708 |
Can be used by the |
| 1709 |
.B getmerkle |
| 1710 |
command. |
| 1711 |
|
| 1712 |
.\" Invoice. |
| 1713 |
.TP |
| 1714 |
.I invoice |
| 1715 |
The invoice. |
| 1716 |
Can be used by the |
| 1717 |
.BR decode_invoice " and " lnpay |
| 1718 |
commands. |
| 1719 |
|
| 1720 |
.\" Invoice ID. |
| 1721 |
.TP |
| 1722 |
.I invoice_id |
| 1723 |
The invoice ID. |
| 1724 |
Can be used by the |
| 1725 |
.BR delete_invoice " and " get_invoice |
| 1726 |
commands. |
| 1727 |
|
| 1728 |
.\" JSON Transaction. |
| 1729 |
.TP |
| 1730 |
.I jsontx |
| 1731 |
The JSON transaction. |
| 1732 |
An example value would be: { "inputs": [ {"prevout_hash": "9d221a69ca3997cbeaf5624d723e7dc5f829b1023078c177d37bdae95f37c539", "prevout_n": 1, "value_sats": 1000000, |
| 1733 |
"privkey": "p2wpkh:cVDXzzQg6RoCTfiKpe8MBvmm5d5cJc6JLuFApsFDKwWa6F5TVHpD"} ], "outputs": [ {"address": "tb1q4s8z6g5jqzllkgt8a4har94wl8tg0k9m8kv5zd", "value_sats": 990000} ] }. |
| 1734 |
Can be used by the |
| 1735 |
.B serialize |
| 1736 |
command. |
| 1737 |
|
| 1738 |
.\" Key. |
| 1739 |
.TP |
| 1740 |
.I key |
| 1741 |
The variable name. |
| 1742 |
Can be used by the |
| 1743 |
.BR helpconfig ", " get ", " getalias ", " getconfig ", " setconfig ", " setlabel ", and " unsetconfig |
| 1744 |
commands. |
| 1745 |
|
| 1746 |
.\" Label. |
| 1747 |
.TP |
| 1748 |
.I label |
| 1749 |
The label. |
| 1750 |
Can be used by the |
| 1751 |
.B setlabel |
| 1752 |
command. |
| 1753 |
|
| 1754 |
.\" Lightning Amount. |
| 1755 |
.TP |
| 1756 |
.I lightning_amount |
| 1757 |
The amount sent or received in a submarine swap. Set it to 'dryrun' to receive a value. |
| 1758 |
Can be used by the |
| 1759 |
.BR normal_swap " and " reverse_swap |
| 1760 |
commands. |
| 1761 |
|
| 1762 |
.\" Message. |
| 1763 |
.TP |
| 1764 |
.I message |
| 1765 |
The message. Use quotes if it contains whitespaces. |
| 1766 |
Can be used by the |
| 1767 |
.BR encrypt ", " send_onion_message ", " signmessage ", and " verifymessage |
| 1768 |
commands. |
| 1769 |
|
| 1770 |
.\" New Fee Rate. |
| 1771 |
.TP |
| 1772 |
.I new_fee_rate |
| 1773 |
The new fee rate. |
| 1774 |
Can be used by the |
| 1775 |
.B bumpfee |
| 1776 |
command. |
| 1777 |
|
| 1778 |
.\" New Limit. |
| 1779 |
.TP |
| 1780 |
.I new_limit |
| 1781 |
The new gap limit. |
| 1782 |
Can be used by the |
| 1783 |
.B changegaplimit |
| 1784 |
command. |
| 1785 |
|
| 1786 |
.\" Node ID. |
| 1787 |
.TP |
| 1788 |
.I node_id |
| 1789 |
The node pubkey in hex format. |
| 1790 |
Can be used by the |
| 1791 |
.B get_blinded_path_via |
| 1792 |
command. |
| 1793 |
|
| 1794 |
.\" Node ID or Blinded Path Hex. |
| 1795 |
.TP |
| 1796 |
.I node_id_or_blinded_path_hex |
| 1797 |
The node id or blinded path. |
| 1798 |
Can be used by the |
| 1799 |
.B send_onion_message |
| 1800 |
command. |
| 1801 |
|
| 1802 |
.\" Number. |
| 1803 |
.TP |
| 1804 |
.I num |
| 1805 |
The number of signatures. |
| 1806 |
Can be used by the |
| 1807 |
.B createmultisig |
| 1808 |
command. |
| 1809 |
|
| 1810 |
.\" On-Chain Amount. |
| 1811 |
.TP |
| 1812 |
.I onchain_amount |
| 1813 |
The amount sent or received in a submarine swap. Set it to 'dryrun' to receive a value. |
| 1814 |
Can be used by the |
| 1815 |
.BR normal_swap " and " reverse_swap |
| 1816 |
commands. |
| 1817 |
|
| 1818 |
.\" Outputs. |
| 1819 |
.TP |
| 1820 |
.I outputs |
| 1821 |
A list of ["address", amount ]. |
| 1822 |
Can be used by the |
| 1823 |
.B paytomany |
| 1824 |
command. |
| 1825 |
|
| 1826 |
.\" Path. |
| 1827 |
.TP |
| 1828 |
.I path |
| 1829 |
The derivation path (address index). |
| 1830 |
Can be used by the |
| 1831 |
.B getprivatekeyforpath |
| 1832 |
command. |
| 1833 |
|
| 1834 |
.\" Payment Hash. |
| 1835 |
.TP |
| 1836 |
.I payment_hash |
| 1837 |
Hex encoded payment hash to be used for the invoice. |
| 1838 |
Can be used by the |
| 1839 |
.BR add_hold_invoice ", " cancel_hold_invoice ", and " check_hold_invoice |
| 1840 |
commands. |
| 1841 |
|
| 1842 |
.\" Preimage. |
| 1843 |
.TP |
| 1844 |
.I preimage |
| 1845 |
Hex encoded preimage of the invoice to be settled. |
| 1846 |
Can be used by the |
| 1847 |
.B settle_hold_invoice |
| 1848 |
command. |
| 1849 |
|
| 1850 |
.\" Private Key. |
| 1851 |
.TP |
| 1852 |
.I privkey |
| 1853 |
The private key. In the case of |
| 1854 |
.B signtransaction_with_privkey |
| 1855 |
a list of private keys can be used. |
| 1856 |
If you want to be prompted for the |
| 1857 |
.I privkey |
| 1858 |
in a concealed fashion, use '?' for the argument value. |
| 1859 |
Can be used by the |
| 1860 |
.BR getprivatekeyforpath ", " importprivkey ", " signtransaction_with_privkey ", and " sweep |
| 1861 |
commands. |
| 1862 |
|
| 1863 |
.\" Public Key. |
| 1864 |
.TP |
| 1865 |
.I pubkey |
| 1866 |
The public key. |
| 1867 |
Can be used by the |
| 1868 |
.BR decrypt " and " encrypt |
| 1869 |
commands. |
| 1870 |
|
| 1871 |
.\" Public Keys. |
| 1872 |
.TP |
| 1873 |
.I pubkeys |
| 1874 |
The public keys. |
| 1875 |
Can be used by the |
| 1876 |
.B createmultisig |
| 1877 |
command. |
| 1878 |
|
| 1879 |
.\" Query. |
| 1880 |
.TP |
| 1881 |
.I query |
| 1882 |
The query. |
| 1883 |
Can be used by the |
| 1884 |
.B searchcontacts |
| 1885 |
command. |
| 1886 |
|
| 1887 |
.\" Request ID. |
| 1888 |
.TP |
| 1889 |
.I requset_id |
| 1890 |
The request ID. |
| 1891 |
Can be used by the |
| 1892 |
.BR delete_request " and " get_request |
| 1893 |
commands. |
| 1894 |
|
| 1895 |
.\" Signature. |
| 1896 |
.TP |
| 1897 |
.I signature |
| 1898 |
The signature. |
| 1899 |
Can be used by the |
| 1900 |
.B verifymessage |
| 1901 |
command. |
| 1902 |
|
| 1903 |
.\" Text. |
| 1904 |
.TP |
| 1905 |
.I text |
| 1906 |
The text, which can be a seed phrase, a master public key, a master private key, a list of Bitcoin addresses, or a list of Bitcoin private keys. |
| 1907 |
If you want to be prompted for the text in a concealed fashion, use '?' or ':' for the argument value. |
| 1908 |
Can be used by the |
| 1909 |
.B restore |
| 1910 |
command. |
| 1911 |
|
| 1912 |
.\" Transaction. |
| 1913 |
.TP |
| 1914 |
.I tx |
| 1915 |
A serialized transaction in hexadecimal. |
| 1916 |
Can be used by the |
| 1917 |
.BR addtransaction ", " broadcast ", " bumpfee ", " deserialize ", " signtransaction ", and " signtransaction_with_privkey |
| 1918 |
commands. |
| 1919 |
|
| 1920 |
.\" Transaction ID. |
| 1921 |
.TP |
| 1922 |
.I txid |
| 1923 |
The transaction ID. |
| 1924 |
Can be used by the |
| 1925 |
.BR get_tx_status ", " getmerkle ", " gettransaction ", and " removelocaltx |
| 1926 |
commands. |
| 1927 |
|
| 1928 |
.\" Value. |
| 1929 |
.TP |
| 1930 |
.I value |
| 1931 |
The value, which may be a string or a Python expression. |
| 1932 |
Can be used by the |
| 1933 |
.B setconfig |
| 1934 |
command. |
| 1935 |
|
| 1936 |
.\" url. |
| 1937 |
.TP |
| 1938 |
.I url |
| 1939 |
A Bitcoin URI or a BIP70 file. |
| 1940 |
The Bitcoin URI syntax is |
| 1941 |
.RI bitcoin: address [?amount= amount ][?label= label ][?message= message ]. |
| 1942 |
Can be used by the |
| 1943 |
.B gui |
| 1944 |
command. |
| 1945 |
|
| 1946 |
.\" URL. |
| 1947 |
.TP |
| 1948 |
.I URL |
| 1949 |
A standard web URL that can receive HTTP POST commands. |
| 1950 |
Can be used by the |
| 1951 |
.B notify |
| 1952 |
command. |
| 1953 |
|
| 1954 |
.\" XKey. |
| 1955 |
.TP |
| 1956 |
.I xkey |
| 1957 |
The XKey. |
| 1958 |
Can be used by the |
| 1959 |
.B convert_xkey |
| 1960 |
command. |
| 1961 |
|
| 1962 |
.\" XType. |
| 1963 |
.TP |
| 1964 |
.I xtype |
| 1965 |
The XType. |
| 1966 |
Can be used by the |
| 1967 |
.B convert_xkey |
| 1968 |
command. |
| 1969 |
|
| 1970 |
|
| 1971 |
|
| 1972 |
|
| 1973 |
.\" Section Header - Author. |
| 1974 |
.SH AUTHOR |
| 1975 |
Documentation author: Soren Stoutner <[email protected]> |