Chain-aware RPC CLI
Like cast, but with auto ABI encoding, 2600+ chains out of the box, and Etherscan V2 integration.
curl -fsSL crpc.agent-tools.org/install.sh | shAuto-decoded, human-readable output
Everything you need for on-chain queries
Automatic function call encoding and decoding — no manual hex wrangling.
Zero-config access to any chain via chainlist.org. Use names, aliases, or chain IDs.
Unified API for ABI queries, gas prices, and transaction history across 60+ chains.
Bundle multiple contract calls into a single RPC request for maximum efficiency.
Multi-provider failover with automatic L2 fallback to RPC methods.
encode and decode commands work without network — ABI encode/decode anywhere.
18 commands for every on-chain task
| call | eth_call with auto ABI encode/decode |
| balance | ERC-20 token balance query |
| allowance | ERC-20 allowance check |
| abi | Fetch contract ABI from Etherscan |
| code | Get contract bytecode |
| slot | Read storage slot |
| block | Get block info |
| tx | Transaction details + decoded logs |
| logs | Query and decode event logs |
| trace | Debug trace a transaction |
| multi | Batch calls via Multicall3 |
| diff | Compare values across blocks |
| gas | Current gas prices |
| history | Transaction history |
| transfers | ERC-20 transfer history |
| chains | List / search 2600+ chains |
| encode | ABI-encode (offline) |
| decode | ABI-decode (offline) |
One command to get started
$ curl -fsSL crpc.agent-tools.org/install.sh | sh# or: cargo install crpc# That's it. 2600+ chains, zero config.# Optional: set Etherscan API key for ABI lookups$ export ETHERSCAN_API_KEY=your_key# Optional: set custom RPC endpoints$ export ETH_RPC_URL=https://your-rpc.example.com