evm-rpc-checker
v1.0.0
Published
CLI tool for analyzing EVM-compatible RPC endpoints
Maintainers
Readme
evm-rpc-checker
A CLI tool for analyzing EVM-compatible blockchain RPC endpoints. Performs 10 automated tests and outputs a comprehensive quality score.
Install
npm i -g evm-rpc-checkerUsage
evm-rpc-checker <rpc-url>
# or without installing
npx evm-rpc-checker https://ethereum-rpc.publicnode.comExample Output
EVM RPC Checker
──────────────────────────────────────────────────
Target: https://ethereum-rpc.publicnode.com
Chain: Ethereum Mainnet (ID: 1)
Block: #24,696,724
⚡ Connectivity PASS
Chain ID: 1
Chain: Ethereum Mainnet
Latest Block: 24,696,724
Latency: 332 ms
⏱ Latency PASS
Avg: 332 ms
Min: 304 ms
Max: 409 ms
Jitter: 105 ms
🌐 CORS PASS
Allow-Origin: *
Browser OK: Yes
📦 Batch Request PASS
Supported: Yes
Responses: 3/3
🔌 WebSocket PASS
📚 Archive Node PASS
🔧 Methods PASS (6/7)
🚀 Throughput PASS (3.0 req/s)
🧩 Consistency PASS
⛽ Gas Tracker PASS
──────────────────────────────────────────────────
Overall Score: 88/100 ██████████████████░░Test Suites
| Test | Description |
|------|-------------|
| Connectivity | eth_chainId, eth_blockNumber, net_version |
| Latency | Avg/min/max latency and jitter over 5 requests |
| CORS | CORS header validation via OPTIONS preflight |
| Batch Request | JSON-RPC batch request support |
| WebSocket | HTTP-to-WS/WSS upgrade support |
| Archive Node | Historical state query at block #1 |
| Methods | 7 RPC methods including trace/debug |
| Throughput | Sequential request throughput (req/s) |
| Consistency | Block height variance across 3 queries |
| Gas Tracker | Gas price, EIP-1559 base fee and priority fees |
Requirements
- Node.js >= 18
Related
Desktop app with GUI available at github.com/lolieatapple/rpc-checker
License
MIT
