Latest block number (Base, Ethereum, L2s)
chain_block_numberLatest block number, block hash, timestamp, age in seconds and tx count for one EVM chain or several at once (Base, Ethereum, Arbitrum, Optimism, Polygon, BSC, Avalanche, Gnosis, Base Sepolia; 'all' = 6 main chains). Use as a chain-head / liveness check or to anchor block ranges. Price: $0.001 per call (USDC on Base via x402); the first 10 calls per day are free.
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": "chain_block_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Chain name, comma-separated list, or 'all' (default all) |