@mysten/dapp-kit
Version:
A collection of React hooks and components for interacting with the Sui blockchain and wallets.
6 lines (5 loc) • 302 B
TypeScript
import type { WalletWithRequiredFeatures } from '@mysten/wallet-standard';
/**
* Internal hook for easily handling the addition and removal of new wallets.
*/
export declare function useWalletsChanged(preferredWallets: string[], walletFilter?: (wallet: WalletWithRequiredFeatures) => boolean): void;