File: electrum.1

package info (click to toggle)
electrum 4.5.8%2Bds-6
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 24,428 kB
  • sloc: python: 91,359; sh: 1,150; java: 116; xml: 51; makefile: 25
file content (1821 lines) | stat: -rw-r--r-- 40,478 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
.\" Copyright 2023-2024 Soren Stoutner <soren@debian.org>.
.\"
.\" This file is part of the Debian package of Electrum.  It is released under
.\" either the Expat license (sometimes referred to as the MIT license) or the
.\" GPLv3+, at the user's discretion.
.\" <https://salsa.debian.org/cryptocoin-team/electrum>
.\"
.\" Expat license:
.\"
.\" Permission is hereby granted, free of charge, to any person obtaining
.\" a copy of this software and associated documentation files (the
.\" "Software"), to deal in the Software without restriction, including
.\" without limitation the rights to use, copy, modify, merge, publish,
.\" distribute, sublicense, and/or sell copies of the Software, and to
.\" permit persons to whom the Software is furnished to do so, subject to
.\" the following conditions:
.\"
.\" The above copyright notice and this permission notice shall be
.\" included in all copies or substantial portions of the Software.
.\"
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
.\" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
.\" NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
.\" LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
.\" OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
.\" WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
.\"
.\" GPLv3+ license:
.\"
.\" This program is free software: you can redistribute it and/or modify it
.\" under the terms of the GNU General Public License as published by the Free
.\" Software Foundation, either version 3 of the License, or (at your option)
.\" any later version.
.\"
.\" This program is distributed in the hope that it will be useful, but WITHOUT
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
.\" FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
.\" more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with this program.  If not, see <https://www.gnu.org/licenses/>.
.\"
.\" `.TP` is "Tag Paragraph".
.\" `.B` is "Bold".
.\" `.I` is "Italic (underlined)".
.\" `.BR` is "Bold alternating Roman (not bold)".
.\" `.BI` is "Bold alternating Italic (underlined)".
.\" `.RI` is "Roman (not italic) alternating Italic (underlined)".
.\" `.IR` is "Italic (underlined) alternating Roman (not underlined)".
.\" `.br` is "Break Line".
.\" `.RS` is "Relative margin (indent) Start".
.\" `.RE` is "Relative margin (indend) End".

.\" Title Header.
.TH Electrum 1 "7 June 2024" "version 4.5.5" "Electrum User Manual"

.\" Section Header - Name.
.SH NAME
electrum \- easy to use Bitcoin client


.\" Section Header - Name.
.SH SYNOPSIS

.\" Launching with default options.
.B electrum
.br
.RS
Launch the Electrum GUI with the default options.
.RE

.\" Launching a specific URL.
.B electrum
.I url
.br
.RS
Launch the Electrum GUI with a specific Bitcoin URI or a BIP70 file.
See
.I url
for syntax information.
.RE

.\" Launching with global options, commands, and options.
.B electrum
.RI [ command ]
.RI [ options ]
.RI [ global_options ]
.RI [ positional_arguments ]
.br
.RS
Specify possible commands, options, global options, and positional arguments.
.RE

.\" List the options available for each command.
.B electrum help
.I command
.br
.RS
List detailed help for the specified command.
.RE


.\" Section Header - Description.
.SH DESCRIPTION
Electrum is a lightweight Bitcoin wallet focused is speed, with low resource usage and simplifying Bitcoin.
Startup times are instant because it operates in conjunction with high-performance servers that handle the most complicated parts of the Bitcoin system.

Electrum has a list of possible options specific to each command as well as a set of global options.
Some commands also accept positional arguments at the end of the options list.
Running
.B electrum help
.I command
will list the options and positional arguments compatible with that command.




.\" Section Header - Commands.
.SH COMMANDS

.\" GUI.
.TP
.B gui
Run the GUI.
This is the default if no command is specified.
May use the
.I url
positional argument.

.\" Daemon.
.TP
.B daemon
Run the daemon.

.\" Add Peer.
.TP
.B add_peer
Add a peer.
Requires the
.I connection_string
positional argument.

.\" Add Request.
.TP
.B add_request
Create a payment request, using the first unused address of the wallet.
The address will be considered as used after this operation.
If no payment is received, the address will be considered as unused if the payment request is deleted from the wallet.
Requires the
.I amount
positional argument.

.\" Add Transaction.
.TP
.B addtransaction
Add a transaction to the wallet history.
Requires the
.I tx
positional argument.

.\" Broadcast.
.TP
.B broadcast
Broadcast a transaction to the network.
Requires the
.I tx
positional argument.

.\" Bump Fee.
.TP
.B bumpfee
Bump the fee for an unconfirmed transaction.
Requires the
.IR tx " and " new_fee_rate
positional arguments.

.\" Change Gap Limit.
.TP
.B changegaplimit
Change the gap limit of the wallet.
See https://support.ledger.com/hc/en-us/articles/360010892360-Address-gap-limit
and https://blog.lopp.net/mind-the-bitcoin-address-gap/ for more information.
Requires the
.I new_limit
positional argument.

.\" Clear Invoices.
.TP
.B clear_invoices
Remove all invoices.

.\" Clear Liquidity Blacklist.
.TP
.B clear_ln_blacklist
Clear the Lightning blacklist.

.\" Clear Requests.
.TP
.B clear_requests
Remove all payment requests.

.\" Close Channel.
.TP
.B close_channel
Close a Lightning channel.
Requires the
.I channel_point
positional argument.

.\" Close Wallet.
.TP
.B close_wallet
Close the wallet.

.\" Commands.
.TP
.B commands
List the available commands.

.\" Convert Currency.
.TP
.B convert_currency
Convert the given amount from one currency to another using the configured exchange rate source.

.\" Convert XKey.
.TP
.B convert_xkey
Convert the xtype of a master key.  E.G. xpub -> ypub.
Valid options are 'xprv', 'yprv', 'zprv', 'Yprv', 'Zprv', 'xpub', 'ypub', 'zpub', 'Ypub', and 'Zpub'.
Requires the
.IR xkey " and " xtype
positional arguments.

.\" Create Wallet.
.TP
.B create
Create a new wallet.
If you want to be prompted for an argument in a concealed fashion, use '?' or ':' for the argument value.

.\" Create MultiSig Address.
.TP
.B createmultisig
Create a MultiSig address.
Requires the
.IR num " and " pubkeys
positional arguments.

.\" Create New Address.
.TP
.B createnewaddress
Create a new receiving address, beyond the gap limit of the wallet.
See https://support.ledger.com/hc/en-us/articles/360010892360-Address-gap-limit
and https://blog.lopp.net/mind-the-bitcoin-address-gap/ for more information.

.\" Decode Invoice.
.TP
.B decode_invoice
Decode an invoice.
Requires the
.I invoice
positional argument.

.\" Decrypt.
.TP
.B decrypt
Decode a message encrypted with a public key.
Requires the
.IR pubkey " and " encrypted
positional arguments.

.\" Delete Invoice.
.TP
.B delete_invoice
Delete an invoice.
Requires the
.I invoice_id
positional argument.

.\" Delete Request.
.TP
.B delete_request
Delete a request.
Requires the
.I request_id
positional argument.

.\" Deserialize.
.TP
.B deserialize
Delete a serialized transaction.
Requires the
.I tx
positional argument.

.\" Dump Private Keys.
.TP
.B dumpprivkeys
This command is deprecated.

.\" Enable Hashed Timelock Contract Settlement.
.TP
.B enable_htlc_settle
Enable Hashed TimeLock Contract settlement.
See https://www.investopedia.com/terms/h/hashed-timelock-contract.asp for more information.
Requires the
.I b
positional argument.

.\" Encrypt.
.TP
.B encrypt
Encrypt a message with a public key.  Use quotes if the message contains whitespace.
Requires the
.IR pubkey " and " message
positional arguments.

.\" Export Channel Backup.
.TP
.B export_channel_backup
Export the channel backup.
Requires the
.I channel_point
positional argument.

.\" Freeze Address.
.TP
.B freeze
Freeze the funds in one of your wallet's addresses.
Requires the
.I address
positional argument.

.\" Freeze UTXO.
.TP
.B freeze_utxo
Freeze a UTXO (Unspent Transaction Output) so that the wallet will not spend it.
See https://river.com/learn/bitcoins-utxo-model for more information.
Requires the
.I coin
positional argument.

.\" Get.
.TP
.B get
Return an item from the wallet storage.
Requires the
.I key
positional argument.

.\" Get Channel's Commitment Transaction.
.TP
.B get_channel_ctx
Return the current channel's commitment transaction.
Requires the
.I channel_point
positional argument.

.\" Get Invoice.
.TP
.B get_invoice
Return the specified invoice (request for outgoing payment).
Requires the
.I invoice_id
positional argument.

.\" Get Request.
.TP
.B get_request
Return the specified payment request.
Requires the
.I request_id
positional argument.

.\" Get Transaction Status.
.TP
.B get_tx_status
Return information regarding the transaction (for now, only the number of confirmations).
The transaction must be related to the wallet.
Requires the
.I txid
positional argument.

.\" Get Watchtower CTN.
.TP
.B get_watchtower_ctn
Return the local watchtower's CTN of channel.
Used in regtests.
Requires the
.I channel_point
positional argument.

.\" Get Address Balance.
.TP
.B getaddressbalance
Return the balance of a Bitcoin address.
Note that this is a walletless server query, meaning that the results are not checked by SPV (Simple Payment Verification).
Requires the
.I address
positional argument.

.\" Get Address History.
.TP
.B getaddresshistory
Return the transaction history of a Bitcoin address.
Note that this is a walletless server query, meaning that the results are not checked by SPV (Simple Payment Verification).
Requires the
.I address
positional argument.

.\" Get Address Unspent.
.TP
.B getaddressunspent
Return the UTXO (Unspent Transaction Output) list of a Bitcoin address.
Note that this is a walletless server query, meaning that the results are not checked by SPV (Simple Payment Verification).
Requires the
.I address
positional argument.

.\" Get Alias.
.TP
.B getalias
Retrieve an alias.  This looks in your list of contacts, and for an OpenAlias DNS record.
Requires the
.I key
positional argument.

.\" Get Balance.
.TP
.B getbalance
Return the balance of your wallet.

.\" Get Config.
.TP
.B getconfig
Return a configuration variable.
Requires the
.I key
positional argument.

.\" Get Fee Rate.
.TP
.B getfeerate
Return the current suggested fee rate (in sat/kvByte), according to the config settings or the supplied parameters.

.\" Get Network Info
.TP
.B getinfo
Return the current network information.

.\" Get Master Private Key
.TP
.B getmasterprivate
Return the wallet's master private key.

.\" Get Merkle.
.TP
.B getmerkle
Return the Merkle branch of a transaction included in a block.
Electrum uses this to verify transactions (Simple Payment Verification).
Requires the
.IR txid " and " height
positional arguments.

.\" Get Minimum Acceptable Gap.
.TP
.B getminacceptablegap
Return the minimum value for gap limit that would be sufficient to discover all known addresses in the wallet.

.\" Get Master Public Key.
.TP
.B getmpk
Return the wallet's master public key.

.\" Get Private Key For Path.
.TP
.B getprivatekeyforpath
Return the private key corresponding to a derivation path (address index).
.I path
can be either a str such as "m/0/50" or a list of ints such as [0, 50].
See https://learnmeabitcoin.com/technical/derivation-paths for more information.
Requires the
.I path
positional argument.

.\" Get Private Keys.
.TP
.B getprivatekeys
Return the private key of an address.  You may pass a single wallet address or a list of wallet addresses.
Requires the
.I address
positional argument.

.\" Get Public Keys.
.TP
.B getpubkeys
Return the public key of an address.
Requires the
.I address
positional argument.

.\" Get Seed.
.TP
.B getseed
Return the wallet's generation seed phrase.

.\" Get Servers.
.TP
.B getservers
Return the list of known servers (connections candidates).

.\" Get Transaction.
.TP
.B gettransaction
Return a transaction.
Requires the
.I txid
positional argument.

.\" Get Unused Address.
.TP
.B getunusedaddress
Return the wallet's first unused address, or None if all addresses are used.
An address is considered to be used if it has received a transaction or if it is used in a payment request.

.\" Help.
.TP
.B help
Display help information.
This is the same as the
.BR -h " and " --help
options.
Calling
.B help
followed by another command will display specific options for that command.

.\" Import Channel Backup.
.TP
.B import_channel_backup
Import a channel backup.
Requires the
.I encrypted
positional argument.

.\" Import Private Key.
.TP
.B importprivkey
Import a private key.
If you want to be prompted for an argument in a concealed fashion, use '?' for the argument value.
Requires the
.I privkey
positional argument.

.\" Is Synchronized.
.TP
.B is_synchronized
Return the wallet synchronization status.

.\" Is Mine.
.TP
.B ismine
Check if address is in the wallet.
Requires the
.I address
positional argument.

.\" Lightning History.
.TP
.B lightning_history
Return the lightning history.

.\" List Channels.
.TP
.B list_channels
Return a list of the channels.

.\" List Invoices.
.TP
.B list_invoices
Return a list of invoices (requests for outgoing payments) saved in the wallet.

.\" List Peers.
.TP
.B list_peers
Return a list of lightning peers.

.\" List Requests.
.TP
.B list_requests
Return a list of incoming payment requests saved in the wallet.

.\" List Wallets.
.TP
.B list_wallets
Return a list of wallets open in the daemon.

.\" List Addresses.
.TP
.B listaddresses
Return a list of all addresses in the wallet.
Use options to filter the results.

.\" List Contacts.
.TP
.B listcontacts
Return a list of contacts.

.\" List Unspent.
.TP
.B listunspent
Return a list of unspent transaction outputs in the wallet.

.\" Lightning Pay.
.TP
.B lnpay
Lightning Pay.
Requires the
.I invoice
positional argument.

.\" Load Wallet.
.TP
.B load_wallet
Load a wallet in the daemon.

.\" Make Seed.
.TP
.B make_seed
Create a seed.

.\" Node ID.
.TP
.B nodeid
Return the lightning node ID.

.\" Normal Swap.
.TP
.B normal_swap
Perform a normal submarine swap, which is to send on-chain BTC and receive on Lightning.
Note that your funds will be locked for 24h if you do not have enough incoming capacity.
Requires the
.IR onchain_amount " and " lightning_amount
positional arguments.

.\" Notify.
.TP
.B notify
Watch an address.
Every time the address changes, a HTTP POST is sent to the URL.
Call with an empty URL to stop watching an address.
Requires the
.IR address " and " URL
positional arguments.

.\" On-Chain History.
.TP
.B onchain_history
Return the on-chain transaction history of the wallet.

.\" Open Channel.
.TP
.B open_channel
Open a channel.
Requires the
.IR connection_string " and " amount
positional arguments.

.\" Password.
.TP
.B password
Change the wallet password.

.\" Pay To.
.TP
.B payto
Create a transaction.
Requires the
.IR destination " and " amount
positional arguments.

.\" paytomany.
.TP
.B paytomany
Create a multi-output transaction.
Requires the
.I outputs
positional argument.

.\" Rebalance Channels.
.TP
.B rebalance_channels
Rebalance the channels.
If trampoline is used, the channels must be with different trampolines.
Requires the
.IR from_scid ", " dest_scid ", and " amount
positional arguments.

.\" Remove Local Transaction.
.TP
.B removelocaltx
Remove a local transaction, and it dependent transactions, from the wallet.
Requires the
.I txid
positional argument.

.\" Request Force Close.
.TP
.B request_force_close
Request the remove to force-close a channel.
If a connection string is passed, it can be used without having a state or any backup for the channel.
Assumes that the channel was originally opened with the same local peer (node_keypair).
Requires the
.I channel_point
positional argument.

.\" Reset Liquidity Hints.
.TP
.B reset_liquidity_hints
Reset the liquidity hints.

.\" Restore.
.TP
.B restore
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.
If you want to be prompted for the text in a concealed fashion, use '?' or ':' for the argument value.
Requires the
.I text
positional argument.

.\" Reverse Swap.
.TP
.B reverse_swap
Perform a reverse submarine swap, which is to send on Lightning and receive on-chain BTC.
Requires the
.IR lighting_amount " and " onchain_amount
positional arguments.

.\" Search Contacts.
.TP
.B searchcontacts
Return contacts that match the query.
Requires the
.I query
positional argument.

.\" Serialize.
.TP
.B serialize
Create a signed raw transaction from a JSON transaction template.
An example value for the
.I jsontx
argument would be: { "inputs": [ {"prevout_hash": "9d221a69ca3997cbeaf5624d723e7dc5f829b1023078c177d37bdae95f37c539", "prevout_n": 1, "value_sats": 1000000, "privkey": "p2wpkh:cVDXzzQg6RoCTfiKpe8MBvmm5d5cJc6JLuFApsFDKwWa6F5TVHpD"} ],
"outputs": [ {"address": "tb1q4s8z6g5jqzllkgt8a4har94wl8tg0k9m8kv5zd", "value_sats": 990000} ] }.
Requires the
.I jsontx
positional argument.

.\" Set Config.
.TP
.B setconfig
Set a configuration variable.
.I value
may be a string or a Python expression.
Requires the
.IR key " and " value
positional arguments.

.\" Set Label.
.TP
.B setlabel
Assign a label to a Bitcoin address or a transaction ID.
Requires the
.IR key " and " label
positional arguments.

.\" Sign Message.
.TP
.B signmessage
Sign a message with the address key.  Use quotes if the message contain whitespaces.
Requires the
.IR address " and " message
positional arguments.

.\" Sign Transaction.
.TP
.B signtransaction
Sign a transaction with the wallet keys.
Requires the
.I tx
positional argument.

.\" Sign Transaction With Private Key.
.TP
.B signtransaction_with_privkey
Sign a transaction with the provided list of private keys.
Requires the
.IR tx " and " privkey
positional argument.

.\" Stop.
.TP
.B stop
Stop the daemon.

.\" Sweep.
.TP
.B sweep
Sweep a private key, which return a transaction that spends UTXOs (Unspent Transaction Outputs) from the private key to a destination address.
The transaction is not broadcast.
Requires the
.IR privkey " and " destination
positional arguments.

.\" Unfreeze Address.
.TP
.B unfreeze
Unfreeze the funds in one of your wallet's addresses.
Requires the
.I address
positional argument.

.\" Unfreeze UTXO.
.TP
.B unfreeze_utxo
Unfreeze a UTXO (Unspent Transaction Output) so that the wallet will can spend it.
See https://river.com/learn/bitcoins-utxo-model for more information.
Requires the
.I coin
positional argument.

.\" Validate Address.
.TP
.B validateaddress
Check that an address is valid.
Requires the
.I address
positional argument.

.\" Verify Message.
.TP
.B verifymessage
Verify a message signature.
Requires the
.IR address ", " signature ", and " message
positional arguments.

.\" Version.
.TP
.B version
Display the version information.
This is the same as the
.B --version
option.

.\" Version Information.
.TP
.B version_info
Display information about dependencies, such as their version and path.




.\" Section Header - Options.
.SH OPTIONS

.\" Help.
.TP
.BR -h ", " --help
Display help information.
This is the same as using the
.B help
command with no arguments.
Can be used by any command.

.\" Version.
.TP
.B --version
Display the version.  This is the same as using the
.B version
command.
Typically used without any command.

.\" Add Transaction.
.TP
.B --addtransaction
Specify whether to add the transaction to the wallet, so that it can be used for broadcasting afterwards.
Can be used by the
.BR payto " and " paytomany
commands.

.\" Balance.
.TP
.BR -b ", " --balance
Show the balances of the listed addresses.
Can be used by the
.B listaddresses
command.

.\" Change Address.
.TP
.BI -c " CHANGE_ADDR" ", --change_addr" " CHANGE_ADDR"
Change the address.
The default is a spare address, or the source address if it is not in the wallet.
Can be used by the
.BR payto " and " paytomany
commands.

.\" Change.
.TP
.B --change
Show only change addresses.
Can be used by the
.B listaddresses
command.

.\" Connection String.
.TP
.BI --connection_string " CONNECTION_STRING"
The Lightning network node ID or network address.
Can be used by the
.B request_force_close
command.

.\" Detached.
.TP
.BR -d ", " --detached
Run the daemon in detached mode.
Can be used by the
.B daemon
command.

.\" Daemon.
.TP
.B --daemon
Keep the daemon running after the GUI exits.
Can be used by the
.B gui
command.

.\" Decrease Payment.
.TP
.B --decrease_payment
Specify whether the payment amount will be decreased (true/false).
Can be used by the
.B bumpfee
command.

.\" Encrypt File.
.TP
.BI --encrypt_file " ENCRYPT_FILE"
Specify whether the file on disk should be encrypted with the provided password.
Can be used by the
.BR create ", " password ", and " restore
commands.

.\" Expired.
.TP
.B --expired
Show only expired requests.
Can be used by the
.BR list_invoices " and " list_requests
commands.

.\" Expiry.
.TP
.BI --expiry " EXPIRY"
The expiry time in seconds.
Can be used by the
.B add_request
command.

.\" Server Fingerprint.
.TP
.BI -f " SERVERFINGERPRINT" ", --serverfingerprint" " SERVERFINGERPRINT"
Only connect to servers with a matching SSL certificate SHA256 fingerprint.
To calculate this yourself: '$ openssl x509 -noout -fingerprint -sha256 -inform pem -in servercertfile.crt'.
The server fingerprint should be entered as 64 hexadecimal characters.
Can be used by the
.BR gui " and " daemon
commands.

.\" Fee.
.TP
.BI -f " FEE" ", --fee" " FEE"
The transaction fee (absolute, in BTC).
Can be used by the
.BR payto ", " paytomany ", and " sweep
commands.

.\" From Address.
.TP
.BI -F " FROM_ADDR" ", --from_addr" " FROM_ADDR"
The source address, which must be a wallet address.  Use
.B sweep
to spend from a non-wallet address.
Can be used by the
.BR payto " and " paytomany
commands.

.\" Fee Rate.
.TP
.BI --feerate " FEERATE"
The transaction fee rate (in sat/byte).
Can be used by the
.BR payto " and " paytomany
commands.

.\" Fee Level.
.TP
.BI --fee_level " FEE_LEVEL"
A float between 0.0 and 1.0, representing the fee slider position.
Can be used by the
.B getfeerate
command.

.\" Fee Method.
.TP
.BI --fee_method " FEE_METHOD"
The fee estimation method to use.
Can be used by the
.B getfeerate
command.

.\" Force.
.TP
.B --force
Create a new address beyond the gap limit if no more addresses are available.
Can be used by the
.B add_request
command.

.\" Forget Config.
.TP
.B --forgetconfig
Forget the config on exit.
Can be used by the
.BR gui ", " add_peer ", " add_request ", " addtransaction ", " bumpfee ", " changegaplimit ", " clear_invoices ", " clear_requests ", " close_channel ", " close_wallet ", " create ", " createnewaddress ", " decrypt ", "
.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 ", "
.BR get_watchtower_ctn ", " getalias ", " getbalance ", " getmasterprivate ", " getminacceptablegap ", " getmpk ", " getprivatekeyforpath ", " getprivatekeys ", " getpubkeys ", " getseed ", " gettransaction ", " getunusedaddress ", "
.BR import_channel_backup ", " importprivkey ", " is_synchronized ", " ismine ", " lightning_history ", " list_channels ", " list_invoices ", " list_peers ", " list_requests ", " listaddresses ", " listcontacts ", " listunspent ", "
.BR lnpay ", " load_wallet ", " nodeid ", " normal_swap ", " onchain_history ", " open_channel ", " password ", " payto ", " paytomany ", " rebalance_channels ", " removelocaltx ", " request_force_close ", " restore ", " reverse_swap ", "
.BR searchcontacts ", " setlabel ", " signmessage ", " signtransaction ", " unfreeze ", and " unfreeze_utxo
commands.

.\" From Amount.
.TP
.BI --from_amount " FROM_AMOUNT"
The amount to convert (the default is 1).
Can be used by the
.B convert_currency
command.

.\" From Currency.
.TP
.BI --from_ccy " FROM_CCY"
The currency to convert from.
Can be used by the
.B convert_currency
command.

.\" From Coins.
.TP
.BI --from_coins " FROM_COINS"
The source coins, which must be in the wallet.
Use
.B sweep
to spend from a non-wallet address.
Can be used by the
.BR bumpfee ", " payto ", and " paytomany
commands.

.\" From Height.
.TP
.BI --from_height " FROM_HEIGHT"
Only show transactions that confirmed after the specified block height.
Can be used by the
.B onchain_history
command.

.\" Frozen.
.TP
.B --frozen
Show only frozen addresses.
Can be used by the
.B listaddresses
command.

.\" Funded.
.TP
.B --funded
Show only funded addresses.
Can be used by the
.B listaddresses
command.

.\" GUI Type.
.TP
.BI -g " GUI" ", --GUI" " GUI"
Specify the GUI.
Valid arguments are 'qt', 'kivy', 'text', 'stdio', and 'qml'.
The default is Qt.
Kivy and QML are used for the Android GUI and are not included in the Debian package.
The text dependencies are also not included in the Debian package.
Can be used by the
.B gui
command.

.\" Gossip.
.TP
.B --gossip
Apply the command to the gossip node instead of the wallet.
Can be used by the
.BR add_peer " and " list_peers
commands.

.\" I Know What I Am Doing.
.TP
.B --iknowwhatiamdoing
Acknowledge that you understand the full implications of what you are about to do.
Can be used by the
.BR changegaplimit " and " get_channel_ctx
commands.

.\" Maximum Inputs.
.TP
.BI --imax " IMAX"
Specify the maximum number of inputs.
Can be used by the
.B sweep
command.

.\" Labels.
.TP
.BR -l ", " --labels
Show the labels of the listed addresses.
Can be used by the
.B listaddresses
command.

.\" Language.
.TP
.BI -L " LANGUAGE" ", --lang" " LANGUAGE"
Specify the language.
Can be used by the
.BR gui " and " make_seed
commands.

.\" Locktime.
.TP
.BI --locktime " LOCKTIME"
Set the locktime block number.
Can be used by the
.BR payto " and " paytomany
commands.

.\" Memo.
.TP
.BI -m " MEMO" ", --memo" " MEMO"
The description of the request.
Can be used by the
.B add_request
command.

.\" New Password.
.TP
.BI --new_password " NEW_PASSWORD"
The new password.
Can be used by the
.B password
command.

.\" Number of Bits.
.TP
.BI --nbits " NBITS"
The number of bits of entropy.
Can be used by the
.B make_seed
command.

.\" No Check.
.TP
.B --nocheck
Do not verify aliases.
Can be used by the
.BR payto ", " paytomany ", and " sweep
commands.

.\" No Onion.
.TP
.B --noonion
Do not connect to onion servers.
Can be used by the
.BR gui " and " daemon
commands.

.\" No Segwit.
.TP
.B --nosegwit
Do not create SegWit (Segregated Witness) wallets.
See https://en.wikipedia.org/wiki/SegWit for more information.
Can be used by the
.B gui
command.

.\" One Server.
.TP
.BR -1 ", " --oneserver
Only connect to one server.
Can be used by the
Can be used by the
.BR gui " and " daemon
commands.

.\" Proxy.
.TP
.BI -p " PROXY" ", --proxy" " PROXY"
Specify the proxy using the
.RI [ type :] host [: port ]
syntax (or 'none' to disable the proxy), where type is either 'socks4', 'socks5', or 'http'.
Can be used by the
.BR gui " and " daemon
commands.

.\" Paid.
.TP
.B --paid
Show only paid requests.
Can be used by the
.BR list_invoices " and " list_requests
commands.

.\" Passphrase.
.TP
.BI --passphrase " PASSPHRASE"
The seed extension.
Can be used by the
.BR create " and " restore
commands.

.\" Pending.
.TP
.B --pending
Show only pending requests.
Can be used by the
.BR list_invoices " and " list_requests
commands.

.\" Push Amount.
.TP
.BI --push_amount " PUSH_AMOUNT"
The push initial amount (in BTC).
Can be used by the
.B open_channel
command.

.\" Replace By Fee.
.TP
.BI --rbf " RBF"
Specify whether to signal opt-in Replace-By-Fee in the transaction (true/false).
Can be used by the
.B payto " and " paytomany
commands.

.\" Receiving.
.TP
.B --receiving
Show only receiving addresses.
Can be used by the
.B listaddresses
command.

.\" RPC Host.
.TP
.BI --rpchost " RPCHOST"
The RPC host used by the RPC daemon.
See https://electrum.readthedocs.io/en/latest/jsonrpc.html for more information.
Can be used by the
.B daemon
command.

.\" RPC Port.
.TP
.BI --rpcport " RPCPORT"
The RPC port used by the RPC daemon.
See https://electrum.readthedocs.io/en/latest/jsonrpc.html for more information.
Can be used by the
.B daemon
command.

.\" RPC Socket Type.
.TP
.BI --rpcsock " TYPE"
The RPC socket type used by the RPC daemon.
Valid arguments are 'unix', 'tcp', and 'auto'.
See https://electrum.readthedocs.io/en/latest/jsonrpc.html for more information.
Can be used by the
.B daemon
command.

.\" RPC Socket Location.
.TP
.BI --rpcsockpath " TYPE"
The RPC socket file location used by the RPC daemon.
See https://electrum.readthedocs.io/en/latest/jsonrpc.html for more information.
Can be used by the
.B daemon
command.

.\" Server.
.TP
.BI -s " SERVER" ", --server" " SERVER"
Specify the server using the
.IR host : port : protocol
syntax, where protocol is either 't' (TCP) or 's' (SSL).
Can be used by the
.BR gui " and " daemon
commands.

.\" Seed Type.
.TP
.BI --seed_type " SEED_TYPE"
Specify the seed type.
Valid arguments are 'standard', 'segwit', '2fa', and '2fa_segwit'.
The default is 'segwit'.
Can be used by the
.BR create " and " make_seed
commands.

.\" Show Addresses.
.TP
.B --show_addresses
Show the input and output addresses.
Can be used by the
.B onchain_history
command.

.\" Show Fiat.
.TP
.B --show_fiat
Show the fiat value of transactions.
Can be used by the
.BR lightning_history " and " onchain_history
commands.

.\" Skip Merkle Check.
.TP
.B --skipmerklecheck
Tolerate invalid Merkle proofs from the server.
See https://medium.com/crypto-0-nite/merkle-proofs-explained-6dd429623dc5 for more information.
Can be used by the
.BR gui " and " daemon
commands.

.\" Timeout.
.TP
.BI --timeout " TIMEOUT"
The timeout in seconds.
Can be used by the
.BR add_peer " and " lnpay
commands.

.\" To Currency.
.TP
.BI --to_ccy " TO_CCY"
The currency to convert to.
Can be used by the
.B convert_currency
command.

.\" To Height.
.TP
.BI --to_height " TO_HEIGHT"
Only show transactions that confirmed before the specified block height.
Can be used by the
.B onchain_history
command.

.\" Unsigned.
.TP
.BR -u ", " --unsigned
Do not sign the transaction.
Can be used by the
.BR bumpfee ", " payto ", and " paytomany
commands.

.\" Receiving.
.TP
.B --unused
Show only unused addresses.
Can be used by the
.B listaddresses
command.

.\" Wallet Path.
.TP
.BI -w " WALLET_PATH" ", --wallet" " WALLET_PATH"
Set the wallet path.
Can be used by the
.BR gui ", " add_peer ", " add_request ", " addtransaction ", " bumpfee ", " changegaplimit ", " clear_invoices ", " clear_requests ", " close_channel ", " close_wallet ", " create ", " createnewaddress ", " decrypt ", "
.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 ", "
.BR get_watchtower_ctn ", " getalias ", " getbalance ", " getmasterprivate ", " getminacceptablegap ", " getmpk ", " getprivatekeyforpath ", " getprivatekeys ", " getpubkeys ", " getseed ", " gettransaction ", " getunusedaddress ", "
.BR import_channel_backup ", " importprivkey ", " is_synchronized ", " ismine ", " lightning_history ", " list_channels ", " list_invoices ", " list_peers ", " list_requests ", " listaddresses ", " listcontacts ", " listunspent ", "
.BR lnpay ", " load_wallet ", " nodeid ", " normal_swap ", " onchain_history ", " open_channel ", " password ", " payto ", " paytomany ", " rebalance_channels ", " removelocaltx ", " request_force_close ", " restore ", " reverse_swap ", "
.BR searchcontacts ", " setlabel ", " signmessage ", " signtransaction ", " unfreeze ", and " unfreeze_utxo
commands.

.\" Password.
.TP
.BI -W " PASSWORD" ", --password" " PASSWORD"
The password.
Can be used by the
.BR bumpfee ", " create ", " decrypt ", " getmasterprivate ", " getprivatekeyforpath ", " getprivatekeys ", " getseed ", " importprivkey ", " load_wallet ", " normal_swap ", " open_channel ", " password ", " payto ", " paytomany ", "
.BR restore ", " signmessage ", and " signtransaction
commands.

.\" Receiving.
.TP
.BI --year " YEAR"
Show history for a given year.
Can be used by the
.B onchain_history
command.




.\" Section Header - Global Options.
.SH GLOBAL OPTIONS

.\" Electrum Path.
.TP
.BI -D " ELECTRUM_PATH" ", --dir" " ELECTRUM_PATH"
Set the electrum data directory.  The default is ~/.electrum.

.\" Offline.
.TP
.BR -o ", " --offline
Run electrum in offline mode.

.\" Portable.
.TP
.BR -P ", " --portable
Run electrum in portable mode, which uses ./electrum_data (electrum_data in the current directory) instead of ~/.electrum for the data directory.

.\" RPC User.
.TP
.BI --rpcuser " RPCUSER"
Set the RPC user.
See https://electrum.readthedocs.io/en/latest/jsonrpc.html for more information.

.\" RPC Password.
.TP
.BI --rpcpassword " RPCPASSWORD"
Set the RPC password.
See https://electrum.readthedocs.io/en/latest/jsonrpc.html for more information.

.\" Regtest.
.TP
.B --regtest
Run in regtest (regression test) mode.
The default data directory is ~/.electrum/regtest.
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.

.\" Simnet.
.TP
.B --simnet
Run in simnet (simulation test network) mode.
The default data directory is ~/.electrum/simnet.
See https://bitcoin.stackexchange.com/questions/81260/bitcoin-node-what-is-the-difference-between-simnet-and-regtest for more information.

.\" Signet.
.TP
.B --signet
Run in signet (signature network), which is similar to testnet but adds a signature requirement for block verification.
The default data directory is ~./electrum/signet.
See https://en.bitcoin.it/wiki/Signet for more information.

.\" Testnet.
.TP
.B --testnet
Run in testnet mode, which connects to Bitcoin's testnet network instead of the mainnet one.
The coins on testnet have no value, which allows users to safely test functionality without risk.
The default data directory is ~/.electrum/testnet.
See https://developer.bitcoin.org/examples/testing.html for more information.

.\" Verbosity.
.TP
.BI -v " VERBOSITY"
Set the verbosity (log level).

.\" Verbosity Shortcuts.
.TP
.BI -V " VERBOSITY_SHORTCUTS"
Set the verbosity (shortcut-filter list).




.\" Section Header - Positional Arguments.
.SH POSITIONAL ARGUMENTS

.\" Address.
.TP
.I address
The Bitcoin address.
Can be used by the
.BR freeze ", " getaddressbalance ", " getaddresshistory ", " getaddressunspent ", " getprivatekeys ", " getpubkeys ", " ismine ", " notify ", " signmessage ", " unfreeze ", " validateaddress ", and " verifymessage
commands.

.\" Amount.
.TP
.I amount
The amount to be sent (in BTC). Use '!' to send the maximum available.
Can be used by the
.BR add_request ", " open_channel ", " payto ", and " rebalance_channels
commands.

.\" B.
.TP
.I b
B.
Can be used by the
.B enable_htlc_settle
command.

.\" Channel Point.
.TP
.I channel_point
The channel point.
Can be used by the
.BR close_channel ", " export_channel_backup ", " get_channel_ctx ", " get_watchtower_ctn ", and " request_force_close
commands.

.\" Coin.
.TP
.I coin
The coin, otherwise known as the UTXO (Unspent Transaction Output).
Can be used by the
.BR freeze_utxo " and " unfreeze_utxo
commands.

.\" Connection String.
.TP
.I connection_string
The Lightning network node ID or network address.
Can be used by the
.BR add_peer " and " open_channel
commands.

.\" Destination SCID.
.TP
.I dest_scid
The destination Short Channel Identifier.
Can be used by the
.B rebalance_channels
command.

.\" Destination.
.TP
.I destination
A Bitcoin address, contact, or alias.
Can be used by the
.BR payto " and " sweep
commands.

.\" Encrypted.
.TP
.I encrypted
The encrypted message.
Can be used by the
.BR decrypt " and " import_channel_backup
commands.

.\" From SCID.
.TP
.I from_scid
The from Short Channel Identifier.
Can be used by the
.B rebalance_channels
command.

.\" Height.
.TP
.I height
The block height.
Can be used by the
.B getmerkle
command.

.\" Invoice.
.TP
.I invoice
The invoice.
Can be used by the
.BR decode_invoice " and " lnpay
commands.

.\" Invoice ID.
.TP
.I invoice_id
The invoice ID.
Can be used by the
.BR delete_invoice " and " get_invoice
commands.

.\" JSON Transaction.
.TP
.I jsontx
The JSON transaction.
An example value would be: { "inputs": [ {"prevout_hash": "9d221a69ca3997cbeaf5624d723e7dc5f829b1023078c177d37bdae95f37c539", "prevout_n": 1, "value_sats": 1000000,
"privkey": "p2wpkh:cVDXzzQg6RoCTfiKpe8MBvmm5d5cJc6JLuFApsFDKwWa6F5TVHpD"} ], "outputs": [ {"address": "tb1q4s8z6g5jqzllkgt8a4har94wl8tg0k9m8kv5zd", "value_sats": 990000} ] }.
Can be used by the
.B serialize
command.

.\" Key.
.TP
.I key
The variable name.
Can be used by the
.BR get ", " getalias ", " getconfig ", " setconfig ", and " setlabel
commands.

.\" Label.
.TP
.I label
The label.
Can be used by the
.B setlabel
command.

.\" Lightning Amount.
.TP
.I lightning_amount
The amount sent or received in a submarine swap.  Set it to 'dryrun' to receive a value.
Can be used by the
.BR normal_swap " and " reverse_swap
commands.

.\" Message.
.TP
.I message
The message.  Use quotes if it contains whitespaces.
Can be used by the
.BR encrypt ", " signmessage ", and " verifymessage
commands.

.\" New Fee Rate.
.TP
.I new_fee_rate
The new fee rate.
Can be used by the
.B bumpfee
command.

.\" New Limit.
.TP
.I new_limit
The new gap limit.
Can be used by the
.B changegaplimit
command.

.\" Number.
.TP
.I num
The number of signatures.
Can be used by the
.B createmultisig
command.

.\" On-Chain Amount.
.TP
.I onchain_amount
The amount sent or received in a submarine swap.  Set it to 'dryrun' to receive a value.
Can be used by the
.BR normal_swap " and " reverse_swap
commands.

.\" Outputs.
.TP
.I outputs
A list of ["address", amount ].
Can be used by the
.B paytomany
command.

.\" Path.
.TP
.I path
The derivation path (address index).
Can be used by the
.B getprivatekeyforpath
command.

.\" Private Key.
.TP
.I privkey
The private key.  In the case of
.B signtransaction_with_privkey
a list of private keys can be used.
If you want to be prompted for the
.I privkey
in a concealed fashion, use '?' for the argument value.
Can be used by the
.BR getprivatekeyforpath ", " importprivkey ", " signtransaction_with_privkey ", and " sweep
commands.

.\" Public Key.
.TP
.I pubkey
The public key.
Can be used by the
.BR decrypt " and " encrypt
commands.

.\" Public Keys.
.TP
.I pubkeys
The public keys.
Can be used by the
.B createmultisig
command.

.\" Query.
.TP
.I query
The query.
Can be used by the
.B searchcontacts
command.

.\" Request ID.
.TP
.I requset_id
The request ID.
Can be used by the
.BR delete_request " and " get_request
commands.

.\" Signature.
.TP
.I signature
The signature.
Can be used by the
.B verifymessage
command.

.\" Text.
.TP
.I text
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.
If you want to be prompted for the text in a concealed fashion, use '?' or ':' for the argument value.
Can be used by the
.B restore
command.

.\" Transaction.
.TP
.I tx
A serialized transaction in hexadecimal.
Can be used by the
.BR addtransaction ", " broadcast ", " bumpfee ", " deserialize ", " signtransaction ", and " signtransaction_with_privkey
commands.

.\" Transaction ID.
.TP
.I txid
The transaction ID.
Can be used by the
.BR get_tx_status ", " getmerkle ", " gettransaction ", and " removelocaltx
commands.

.\" Value.
.TP
.I value
The value, which may be a string or a Python expression.
Can be used by the
.B setconfig
command.

.\" url.
.TP
.I url
A Bitcoin URI or a BIP70 file.
The Bitcoin URI syntax is
.RI bitcoin: address [?amount= amount ][?label= label ][?message= message ].
Can be used by the
.B gui
command.

.\" URL.
.TP
.I URL
A standard web URL that can receive HTTP POST commands.
Can be used by the
.B notify
command.

.\" XKey.
.TP
.I xkey
The XKey.
Can be used by the
.B convert_xkey
command.

.\" XType.
.TP
.I xtype
The XType.
Can be used by the
.B convert_xkey
command.




.\" Section Header - Author.
.SH AUTHOR
Documentation author:  Soren Stoutner <soren@debian.org>