evm block by time
evm_block_by_timeWhich block was the chain on at a given moment: give a date-time or unix timestamp and get the last block mined at or before it, with its exact time and hash and the first block after it. Use it to turn "balance on 1 November" or "events since yesterday" into block numbers for other calls. Base, Ethereum, Arbitrum, Optimism, Polygon. $0.003. Costs $0.003 USDC per call (x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"time": "<time>"
},
"name": "evm_block_by_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | Yes | ISO date-time or unix seconds | |
| chain | No | base (default), ethereum, arbitrum, optimism, polygon |