midl_get_block
Retrieve block details including hash, timestamp, transaction count, and gas usage by specifying a block number or requesting the latest block.
Instructions
Get block information by number or latest. Returns block hash, timestamp, transaction count, and gas details.
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": "midl_get_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blockNumber | No | Block number or "latest" for most recent block | latest |