Default timeout for requests
The preferred encryption method for the wallet
Protectedevents$Shared observable for all wallet response events and notifications
Shared observable for all wallet notifications
ProtectedpublishA method that is called when an event needs to be published
Protectedrelays$The relays to use for the connection
ReadonlysecretThe local client signer
The wallet service public key ( unset if waiting for service )
Protected ReadonlysignerProtectedsubscriptionThe active nostr subscription method
Observable for wallet info updates
ProtectedwaitAn internal observable for listening for the wallet service to connect
StaticpoolA fallback pool to use if none is pass in when creating the signer
StaticpublishA fallback method to use for publishMethod if none is passed in when creating the client
StaticsubscriptionA fallback method to use for subscriptionMethod if none is passed in when creating the client
Call a method and return an observable of results
Generic call method with generic type
Request method with generic type
Gets the nostr+walletauth URI for the connection
Optionalparts: Omit<WalletAuthURI<Methods>, "relays" | "client">Get wallet balance
Get wallet info
Get the wallet support info
ProtectedhandleHandle notification events
ProtectedhandleProcess response events and return WalletResponse or throw error
Optionalencryption: EncryptionMethodList transactions
Optionalparams: {Look up an invoice by payment hash or invoice string
Optionalpayment_hash: stringOptionalinvoice: stringCreate a new invoice
Optionaloptions: Omit<Listen for a type of notification
a method to unsubscribe the listener
Pay a lightning invoice
Optionalamount: numberSend a keysend payment
Optionalpreimage: stringOptionaltlv_records: { type: number; value: string }[]Send multiple keysend payments
Check if the wallet supports a method
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
OptionalabortSignal: AbortSignalStaticfromCreate a new WalletConnect instance from a connection string
Optionaloptions: Omit<WalletConnectOptions, "secret" | "service" | "relays">StaticfromCreate a new WalletConnect instance from a serialized object
Optionaloptions: Omit<WalletConnectOptions, "secret" | "service" | "relays">
Whether to accept the relay hint from the wallet service