createWalletConnectSession

Initiates a new WalletConnect session for interacting with another application.

Example

import {
createWalletConnectClient,
createWalletConnectSession,
} from "thirdweb/wallets";
const client = await createWalletConnectClient({
wallet: wallet,
client: client,
});
const session = createWalletConnectSession({
walletConnectClient: client,
uri: "wc:...",
});
function createWalletConnectSession(
options: CreateWalletConnectSessionOptions,
): void;

Parameters

The options to use to create the WalletConnect session.

Type

let options: CreateWalletConnectSessionOptions;

Returns

let returnType: void;