fizen-evm-networks
v1.0.6
Published
> 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
Downloads
5
Readme
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);