watchSigner
Subscribe to changes of the signer instance on the client store.
Import
Usage
Parameters
config
AlchemyAccountsConfig
the account config containing the client store
Returns
(onChange: (chain: AlchemySigner) => void) => (() => void)
a function which accepts an onChange callback that will be fired when the signer changes and returns a function to unsubscribe from the store