providers/functions/subscribeToWalletChanges.md
subscribeToWalletChanges(
callback): () =>void
Calls callback with the detected wallets now and again whenever a new wallet announces itself.
Outside a browser it never calls and the returned function does nothing.
Parameters
| Parameter | Type |
|---|---|
callback | (result) => void |
Returns
The function that stops the calls and the listening.
() => void