API ReferenceReact provider and hooksFunction
unbindOnAccountChanged()
function unbindOnAccountChanged(listener): void;Unbinds an event listener from the accountsChanged event of the injected browser wallet
(window.ethereum), if it exists.
Parameters
| Parameter | Type | Description |
|---|---|---|
listener | OnAccountChangedListener | The listener to unbind from the event. |
Returns
void