You can remove a wallet account from the list of wallet accounts by calling the removeWalletAccount function. If the wallet account is verified, it will be disassociated from the Dynamic user. If the wallet account is not verified, it will be removed from the list of wallet accounts for the current session.

Usage

import { removeWalletAccount } from '@dynamic-labs-sdk/client';

const removeWalletAccountFromList = async () => {
  await removeWalletAccount({ walletAccount });
}