The preferred encryption method for the wallet
Protected
events$Shared observable for all wallet response events and notifications
Shared observable for all wallet notifications
Protected
publishA method that is called when an event needs to be published
Readonly
relaysThe relays to use for the connection
Readonly
secretThe local client signer
The wallet service public key ( unset if waiting for service )
Protected
Readonly
signerProtected
subscriptionThe active nostr subscription method
Observable for wallet info updates
Protected
waitAn internal observable for listening for the wallet service to connect
Static
poolA fallback pool to use if none is pass in when creating the signer
Static
publishA fallback method to use for publishMethod if none is passed in when creating the client
Static
subscriptionA fallback method to use for subscriptionMethod if none is passed in when creating the client
Gets the nostr+walletauth URI for the connection
Optional
parts: Omit<WalletAuthURI, "client" | "relays">Get wallet balance
Get wallet info
Get the wallet support info
Protected
handleProtected
handleProcess response events and return WalletResponse or throw error
Optional
encryption: EncryptionMethodList transactions
Optional
params: {Look up an invoice by payment hash or invoice string
Optional
payment_hash: stringOptional
invoice: stringCreate a new invoice
Optional
options: Omit<MakeInvoiceParams, "amount">Listen for a type of notification
a method to unsubscribe the listener
Pay a lightning invoice
Optional
amount: numberSend a keysend payment
Optional
preimage: stringOptional
tlv_records: { type: number; value: string }[]Pay multiple lightning invoices
Send multiple keysend payments
Core RPC method that makes a request and returns the response
Check if the wallet supports notifications
Check if the wallet supports a notification type
Serialize the WalletConnect instance
Wait for the wallet service to connect
Optional
abortSignal: AbortSignalStatic
fromCreate a new WalletConnect instance from a connection string
Optional
options: Omit<WalletConnectOptions, "secret" | "relays" | "service">Static
fromCreate a new WalletConnect instance from a serialized object
Optional
options: Omit<WalletConnectOptions, "secret" | "relays" | "service">
Default timeout for requests