eth-exists
A library that helps check for available nodes / providers. Useful for when you want to check a list of providers and see which ones are online.
Usage
; // a provider to see if they're online or not by sending a// getNetVersion JSON-RPC request to them and checking for a response; // a provider to see if they're online or not by// attempting to open a ws connection to that address; // array of providers to check; // whether to include the default provider checks;
Provider Check Defaults
; ;