Skip to content

WalletActions.disconnect

Viem Action for disconnecting an account using ERC-7846. Uses wallet_disconnect under the hood.

Usage

example.ts
import { WalletActions } from 'porto/viem'
import { client } from './config'
 
const result = await WalletActions.disconnect(client)