evm_get_network_info
Retrieve real-time block height, EIP-1559 gas prices, and congestion for a specified EVM chain to time transactions and monitor network health.
Instructions
Get comprehensive network health metrics including block info, gas prices, and utilization.
Aggregates real-time network data: latest block number, timestamp, gas prices (EIP-1559 breakdown), and network congestion level. Essential for timing transactions and monitoring chain health.
CRITICAL RULES:
Read-only operation (no gas cost)
Data is current but may be 1-2 blocks behind
Gas prices fluctuate rapidly
Base fee adjusts every block (EIP-1559)
Different chains have different block times
PARAMETERS:
chain: EVM chain to query (required)
Each chain has unique characteristics
Block times vary: Ethereum ~12s, Polygon ~2s, Arbitrum ~0.25s
EXAMPLES: ✅ Check Ethereum network status: {chain: "ethereum"}
✅ Monitor Polygon for low-gas window: {chain: "polygon"}
✅ Verify Arbitrum is syncing: {chain: "arbitrum"}
SUPPORTED EVM CHAINS (7 networks): • ethereum (Sepolia) - EIP-1559 enabled, ~12s blocks, moderate gas costs • polygon (Amoy) - Low fees, fast finality (~2s), layer 2 • avalanche (Fuji C-Chain) - Sub-second finality, dynamic fees • bsc (BNB Testnet) - 3s blocks, low gas costs, Binance ecosystem • arbitrum (Sepolia) - Optimistic rollup, low fees, Ethereum security • base (Sepolia) - Coinbase layer 2, EIP-1559, low fees • worldchain (World Sepolia) - World Network testnet, EIP-1559
CRITICAL GAS CONSIDERATIONS:
Ethereum: High gas costs, use gas oracle for timing
Polygon/BSC: Very low gas, safe for frequent transactions
Arbitrum/Base: L2 optimizations, ~10-50x cheaper than Ethereum
Avalanche: Dynamic fees, can spike during congestion
Always check gas price before executing transactions
TESTNET TOKENS: All chains use testnet tokens with NO REAL VALUE. Faucets available for all supported networks.
OUTPUT STRUCTURE: • latestBlock: Current block number • timestamp: Block timestamp (Unix) • gasPrice: Current gas price (wei) • baseFee: EIP-1559 base fee (wei) • priorityFee: Suggested priority fee (wei) • utilization: Network congestion (0-100%) • chainId: Network chain ID
COMMON MISTAKES:
Not accounting for block time differences across chains
Assuming gas prices are stable (they change constantly)
Ignoring utilization when timing transactions
Using outdated data for transaction submission
USE CASES:
Time transactions for low gas periods
Monitor network congestion before operations
Verify chain is syncing properly
Display network health in UI
Calculate optimal gas prices
Running on Linux.
LINUX-SPECIFIC NOTES:
Package manager: apt (Ubuntu/Debian), yum (RHEL/CentOS), or pacman (Arch)
Python 3 is typically 'python3' command
GNU tools are standard
Use 'xdg-open' command to open files/applications
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chain": "<chain>"
},
"name": "evm_get_network_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | EVM chain to query |