1.0.18 • Published 2 years ago
rpc-pinger v1.0.18
rpcpinger
This is RPC pinger for ETH or Fork. Builded with Ethers and await-timeout.
Get started
npm i rpc-pinger
or yarn add rpc-pinger
Usage on Commonjs
const utils = require('rpc-pinger');
const rpc = [
"https://your.rpc.url/",
...
]
async function test(){
console.log("result : ",await utils.rpcpinger(rpc));
}
test();
Usage on ESM
import { rpcpinger } from 'rpc-pinger';
const rpc = [
"https://your.rpc.url/",
...
]
async test(){
console.log("result : ",await rpcpinger(rpc));
}
test();