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
Input Schema
Name | Required | Description | Default |
---|---|---|---|
blockNumber | Yes | The block number to fetch | |
network | No | Network name or chain ID. Defaults to Ethereum mainnet. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"blockNumber": {
"description": "The block number to fetch",
"type": "number"
},
"network": {
"description": "Network name or chain ID. Defaults to Ethereum mainnet.",
"type": "string"
}
},
"required": [
"blockNumber"
],
"type": "object"
}