An EVM block by number, or the latest one: hash, time
evm_blockAn EVM block by number, or the latest one: hash, time, transaction count, gas used and limit, and base fee in gwei. Read over public RPC. Related tools on this server, for a different need: evm_address when you need native balance, nonce and account type of an EVM address; evm_allowance when you need to check an ERC-20 allowance granted to a spender. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not 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": "evm_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | base (default), ethereum, arbitrum, optimism or polygon | |
| number | No | Block number, or latest (default) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | No | ||
| time | No | ||
| chain | No | ||
| number | No | ||
| source | No | ||
| gasUsed | No | ||
| gasLimit | No | ||
| checkedAt | No | ||
| disclaimer | No | ||
| baseFeeGwei | No | ||
| transactionCount | No |