Events
Disconnect
Handle the disconnect event emitted when Phantom loses its connection to the RPC provider.
Event emitted upon the wallet losing connection to the RPC provider.
This is not a user “disconnecting” from a dapp, or otherwise revoking access between the dapp and the wallet.
You can see an example of hooking into this eventin our sandbox.