Skip to content

Solana Disconnect

Disconnect Example

typescript
import { Web3Kit, ChainType } from "@web3jskit/dapp";

async function connect() {
  const web3Kit = new Web3Kit();
  const serRes: boolean = await web3Kit.request({
    chainType: ChainType.Solana,
    methodName: "disconnect",
  });
}

Request Parameters

typescript
{
  chainType: ChainType.Solana,
  methodName: "disconnect",
};