- walletDetector(connection: <internal>.default, onDetected: ((__namedParameters: { newWallet?: Wallet; wallets: Wallets }) => void)): (() => void)
-
Parameters
-
-
onDetected: ((__namedParameters: { newWallet?: Wallet; wallets: Wallets }) => void)
-
- (__namedParameters: { newWallet?: Wallet; wallets: Wallets }): void
-
Returns void
Returns (() => void)
A function to detect available wallets
Returns
a function to stop scanning