rpc-check
v3.2.6
Published
RPC Check - Checks for Ethereum JSON RPC Nodes
Downloads
13
Readme
rpc-check
Checks for JSON RPC endpoints of ethereum nodes and displays basic statistics and gives a gist how accessible it is.
➜ rpc-check -h
Usage: rpc-check [options] <uri>
RPC Check - Checks for Ethereum JSON RPC Nodes
Options:
-h, --help output usage information
-v, --version output the version number
--block include the last block
--verbose verbose output
--json only JSON output
Reason for this tool to exist: There is like 10 mistakes a lot of people make with their RPC nodes and some of them are revealed by this cli tool.
This tool checks:
Usage
rpc-check http://localhost:8545
version EthereumJS TestRPC/v2.2.7/ethereum-js
network 1475011275094
mining true
accounts 10
gasPrice 1
Only JSON output
rpc-check http://localhost:8545 --json
{
"version": "EthereumJS TestRPC/v2.2.7/ethereum-js",
"network": "1475011275094",
"mining": true,
"accounts": 10,
"gasPrice": 1
}
Install
npm install rpc-check -g