getActiveWalletConnectSessions

Retrieves all active WalletConnect sessions.

Example

import { getActiveWalletConnectSessions } from "thirdweb/wallets";
const sessions = await getActiveWalletConnectSessions();
function getActiveWalletConnectSessions(): Promise<
>;

Returns

let returnType: { origin?: string; topic: string };

All active WalletConnect sessions.