File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,40 @@ interface ClnNode {
62
62
63
63
};
64
64
65
+ dictionary LndConfig {
66
+ string url;
67
+ string macaroon;
68
+ };
69
+
70
+ interface LndNode {
71
+ constructor(LndConfig config);
72
+
73
+ [Throws=ApiError, Async]
74
+ NodeInfo get_info();
75
+
76
+ [Throws=ApiError, Async]
77
+ Transaction create_invoice(CreateInvoiceParams params);
78
+
79
+ [Throws=ApiError, Async]
80
+ PayCode get_offer(string? search);
81
+
82
+ [Throws=ApiError, Async]
83
+ sequence<PayCode> list_offers(string? search);
84
+
85
+ [Throws=ApiError, Async]
86
+ PayInvoiceResponse pay_offer(string offer, i64 amount_msats, string? payer_note );
87
+
88
+ [Throws=ApiError, Async]
89
+ Transaction lookup_invoice(string payment_hash);
90
+
91
+ [Throws=ApiError, Async]
92
+ sequence<Transaction> list_transactions(ListTransactionsParams params);
93
+
94
+ [Throws=ApiError, Async]
95
+ string decode(string str);
96
+
97
+ };
98
+
65
99
interface Db {
66
100
[Throws=DbError]
67
101
constructor(string path);
You can’t perform that action at this time.
0 commit comments