Optional debug: booleanPrivate Readonly PREFIXOptional relayPrivate clientPrivate Readonly debugDisconnect a WalletConnect session
The session topic
The reason for disconnecting the session
Emit session events
The session topic
The session event
Extend WalletConnect session by updating session expiry
The session topic
Get active sessions
Get pending session proposals
Get pending session requests
Private Readonly orangePair with the given URI received from a dapp
Optional activatePrivate pkpPrivate Readonly redReject a session proposal from a dapp
The session ID
The reason for rejecting the session proposal
Private Readonly resetRespond to a session request received from a dapp
Private supportedUpdate WalletConnect session namespaces
The session topic
The session namespace
Private _isPrivate
Checks if the given WalletConnect client is initialized and returns it. If it's not initialized, throws an error.
The WalletConnect client instance to check for initialization
Private _logPrivate _throwParse the session proposal received from a dapp, construct the session namespace, and approve the session proposal if the chain is supported.
The session proposal
Approves a session request received from a dapp, processes the request using the wallet corresponding to the account in the request, and sends a response with the result or an error.
The session request
Initializes the WalletConnect client
Parse and reject the session proposal
The session proposal
Optional reason: ErrorResponseThe reason for rejecting the session proposal
Reject a session request received from a dapp
The session request
Optional reason: ErrorResponseThe reason for rejecting the session request
Generated using TypeDoc
Approve a session proposal from a dapp
Property
The session ID
Property
The session namespace
Property
The relay protocol
Returns