This script provides an average uptime of an avalanche node from the perspective of a subset of the network.
It inspects the avalanche network, looking for nodes with 9650
port open. Then it retrieves the uptime of each validator from this open nodes, providing an average uptime from the perspective of a subset of the network.
npm i -g avalanche-stats
avalanche-stats uptime-by-nodeId <NodeID> [timeout]
avalanche-stats uptime-by-nodeId NodeID-Js3ahWihoTLJWTrWzpth9mttniJNuyoki
avalanche-stats get-peers
Consider supporting this project by donating to X-avax1rc0jdc0xvj7damvvf6wne7zy3kjssazzwck8qa