1.0.6 • Published 2 years ago
fizen-evm-networks v1.0.6
fizen-evm-networks
This library support EVM networks, it will auto fetch the rpcs every 5 seconds and response the latency & height. User can use this information to find the fastest rpc of the chain
How to use?
const chainIds = [80001, 1, 56, 97]
const evmNetworks = new FizenEvmNetworks(chainIds);
const rpc = evmNetworks.getLowestLatencyChain(1);