Extension Wallet
Integration
Cosmos Chains
Deprecated
Disconnect

Disconnect

Disconnect from Dapp

Code using @cosmostation/extension-client

const response = await provider.disconnect();

Vanilla Code

const response = await window.cosmostation.cosmos.request({
  method: "cos_disconnect",
});

Response

Model
type DisconnectResponse = null;
Example
null