evm_block · EVM block
read-onlyUse 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.
Input schema
{
"type": "object",
"properties": {
"chain": {
"type": "string",
"enum": [
"ethereum",
"base",
"arbitrum",
"polygon",
"optimism"
],
"default": "base",
"description": "Chain; default base"
},
"number": {
"type": "string",
"default": "latest",
"description": "Decimal or 0x-hex block number, or latest (default); a block the node does not have yet is refused before any charge"
}
},
"required": []
}