Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to handle disconnected event? #33

Open
bombap opened this issue Sep 6, 2021 · 1 comment
Open

how to handle disconnected event? #33

bombap opened this issue Sep 6, 2021 · 1 comment

Comments

@bombap
Copy link

bombap commented Sep 6, 2021

Can i catch the provider disconnect event?
I have searched and but not found a way to catch this event. Please guide me.

@imin314
Copy link
Member

imin314 commented Sep 7, 2021

Hi, @bombap!

Could you specify what kind of disconnect event you need to catch?
Do you need to track the disconnect event on the default WebsocketProvider in readonly Web3 instance, or you want to subscribe to an event when wallet provider loses connection?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants