File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
ndk-wallet/src/wallets/nwc Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,17 @@ export interface NDKNWCPayInvoiceResult {
8787 fees_paid ?: number ;
8888}
8989
90+ export interface NDKNWCMakeInvoiceResult {
91+ invoice : string ;
92+ preimage : string ;
93+ payment_hash : string ;
94+ amount : number ;
95+ description : string ;
96+ description_hash : string ;
97+ expiry : number ;
98+ metadata ?: Record < string , any > ;
99+ }
100+
90101export interface NDKNWCGetBalanceResult {
91102 balance : number ;
92103}
@@ -114,7 +125,7 @@ export type NDKNWCRequestMap = {
114125
115126export type NDKNWCResponseMap = {
116127 pay_invoice : NDKNWCPayInvoiceResult ;
117- make_invoice : NDKNWCTransaction ;
128+ make_invoice : NDKNWCMakeInvoiceResult ;
118129 lookup_invoice : NDKNWCTransaction ;
119130 list_transactions : { transactions : NDKNWCTransaction [ ] } ;
120131 get_balance : NDKNWCGetBalanceResult ;
You can’t perform that action at this time.
0 commit comments