Base block lookup (latest/finalized/number/hash)
base_block[PAID $0.001 USDC per call via x402 on Base; errors are free] Block header for Base mainnet (chain 8453) from public Base RPC: block number, hash, parent hash, timestamp, age in seconds, confirmations vs current head, transaction count, gas used/limit/utilization, base fee (gwei), fee recipient and size. block = latest (default), safe, finalized, a decimal or 0x-hex block number, or a 0x 32-byte block hash. Useful to check chain liveness/finality or timestamp an event before paying for /api/base/gas or /api/base/tx. Head tags cached 2 s, historical blocks 1 h. Invalid input = 400, unknown block = 404, never charged.
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": "base_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block | No | latest (default) | safe | finalized | block number (decimal or 0x hex) | 0x block hash |