EVM block
evm_blockUse when you need a block header on Base, Ethereum, Arbitrum, Polygon or Optimism: latest or a given number, with hash, parent, timestamp, miner, gas used/limit. Returns the paid x402 request for your input (GET /evm/block, $0.001 per call; schema linked). Call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge. Block header only; for one transaction use evm_transaction or evm_receipt. First call each day returns the data itself, free; later calls return the paid request.
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": "evm_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Chain; default base | base |
| number | No | Decimal or 0x-hex block number, or latest (default); a block the node does not have yet is refused before any charge | latest |