How to check if the provider status? #3456
Answered
by
ricmoo
BravoNatalie
asked this question in
Q&A
-
I want to be able to check if the provider (WebSocketProvider or JsonRpcProvider) is working correctly. How can I achieve this? |
Beta Was this translation helpful? Give feedback.
Answered by
ricmoo
Oct 21, 2022
Replies: 1 comment 2 replies
-
Usually if the provider responds to a |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
BravoNatalie
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Usually if the provider responds to a
getBlockNumber()
request, it’s good. At least as far as your link is concerned.