Latest block and its age on five EVM chains ($0.003)
get_chain_headFetch the latest block head for Base, Ethereum, Arbitrum, Optimism, and Polygon in one call, returning number, hash, timestamp, age, tx count, gas, and base fee.
Instructions
Latest block on Base, Ethereum, Arbitrum, Optimism and Polygon in one call: number, hash, timestamp, age in seconds, transaction count, gas used and limit, base fee. Read live with RPC failover; per-chain status. Not charged for bad input or when every chain fails. No API key. Price: $0.003 USDC per call, paid over x402 on Base from the wallet in X402_PRIVATE_KEY (not charged when the call fails).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_chain_head"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chains | No | Comma list, any of: base,ethereum,arbitrum,optimism,polygon. Default: all five. |