@getalby/sdk
Preparing search index...
nwc
NWCWalletServiceRequestHandler
Interface NWCWalletServiceRequestHandler
interface
NWCWalletServiceRequestHandler
{
getBalance
()
:
NWCWalletServiceResponsePromise
<
Nip47GetBalanceResponse
>
;
getInfo
()
:
NWCWalletServiceResponsePromise
<
Nip47GetInfoResponse
>
;
listTransactions
(
request
:
Nip47ListTransactionsRequest
,
)
:
NWCWalletServiceResponsePromise
<
Nip47ListTransactionsResponse
>
;
lookupInvoice
(
request
:
Nip47LookupInvoiceRequest
,
)
:
NWCWalletServiceResponsePromise
<
Nip47Transaction
>
;
makeInvoice
(
request
:
Nip47MakeInvoiceRequest
,
)
:
NWCWalletServiceResponsePromise
<
Nip47Transaction
>
;
payInvoice
(
request
:
Nip47PayInvoiceRequest
,
)
:
NWCWalletServiceResponsePromise
<
Nip47PayResponse
>
;
payKeysend
(
request
:
Nip47PayKeysendRequest
,
)
:
NWCWalletServiceResponsePromise
<
Nip47Transaction
>
;
signMessage
(
request
:
Nip47SignMessageRequest
,
)
:
NWCWalletServiceResponsePromise
<
Nip47SignMessageResponse
>
;
}
Index
Methods
get
Balance?
get
Info?
list
Transactions?
lookup
Invoice?
make
Invoice?
pay
Invoice?
pay
Keysend?
sign
Message?
Methods
Optional
get
Balance
getBalance
()
:
NWCWalletServiceResponsePromise
<
Nip47GetBalanceResponse
>
Returns
NWCWalletServiceResponsePromise
<
Nip47GetBalanceResponse
>
Optional
get
Info
getInfo
()
:
NWCWalletServiceResponsePromise
<
Nip47GetInfoResponse
>
Returns
NWCWalletServiceResponsePromise
<
Nip47GetInfoResponse
>
Optional
list
Transactions
listTransactions
(
request
:
Nip47ListTransactionsRequest
,
)
:
NWCWalletServiceResponsePromise
<
Nip47ListTransactionsResponse
>
Parameters
request
:
Nip47ListTransactionsRequest
Returns
NWCWalletServiceResponsePromise
<
Nip47ListTransactionsResponse
>
Optional
lookup
Invoice
lookupInvoice
(
request
:
Nip47LookupInvoiceRequest
,
)
:
NWCWalletServiceResponsePromise
<
Nip47Transaction
>
Parameters
request
:
Nip47LookupInvoiceRequest
Returns
NWCWalletServiceResponsePromise
<
Nip47Transaction
>
Optional
make
Invoice
makeInvoice
(
request
:
Nip47MakeInvoiceRequest
,
)
:
NWCWalletServiceResponsePromise
<
Nip47Transaction
>
Parameters
request
:
Nip47MakeInvoiceRequest
Returns
NWCWalletServiceResponsePromise
<
Nip47Transaction
>
Optional
pay
Invoice
payInvoice
(
request
:
Nip47PayInvoiceRequest
,
)
:
NWCWalletServiceResponsePromise
<
Nip47PayResponse
>
Parameters
request
:
Nip47PayInvoiceRequest
Returns
NWCWalletServiceResponsePromise
<
Nip47PayResponse
>
Optional
pay
Keysend
payKeysend
(
request
:
Nip47PayKeysendRequest
,
)
:
NWCWalletServiceResponsePromise
<
Nip47Transaction
>
Parameters
request
:
Nip47PayKeysendRequest
Returns
NWCWalletServiceResponsePromise
<
Nip47Transaction
>
Optional
sign
Message
signMessage
(
request
:
Nip47SignMessageRequest
,
)
:
NWCWalletServiceResponsePromise
<
Nip47SignMessageResponse
>
Parameters
request
:
Nip47SignMessageRequest
Returns
NWCWalletServiceResponsePromise
<
Nip47SignMessageResponse
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
get
Balance
get
Info
list
Transactions
lookup
Invoice
make
Invoice
pay
Invoice
pay
Keysend
sign
Message
@getalby/sdk
Loading...