get_block_by_number
Retrieve blockchain block details by specifying the block number and network using the EVM MCP Server. Supports Ethereum and other compatible networks for efficient data access.
Instructions
Get a block by its block number
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": {
"blockNumber": "<blockNumber>"
},
"name": "get_block_by_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blockNumber | Yes | The block number to fetch | |
| network | No | Network name or chain ID. Defaults to Ethereum mainnet. |