disconnectWalletConnectSession

Disconnects a WalletConnect session.

Example

import { disconnectWalletConnectSession } from "thirdweb/wallets";
await disconnectWalletConnectSession({
session: mySession,
walletConnectClient: wcClient,
});
function disconnectWalletConnectSession(options: {
walletConnectClient: SignClient;
}): Promise<void>;

Parameters

The options to use to disconnect the WalletConnect session.

Type

let options: {
walletConnectClient: SignClient;
};

Returns

let returnType: Promise<void>;