Skip to main content
Glama

ChainFETCH MCP Server

Official
by chainfetch

search_blocks_json

Search Ethereum blocks using 120+ parameters including block hash, height range, gas usage, transaction count, and miner address to filter and retrieve blockchain data.

Instructions

JSON search for blocks with 120+ parameters

Input Schema

NameRequiredDescriptionDefault
hashNoBlock hash
height_minNoMinimum block height
height_maxNoMaximum block height
gas_used_minNoMinimum gas used
gas_used_maxNoMaximum gas used
transaction_count_minNoMinimum transaction count
transaction_count_maxNoMaximum transaction count
miner_hashNoMiner address hash
limitNoNumber of results to return (default: 10, max: 50)
offsetNoNumber of results to skip for pagination (default: 0)

Input Schema (JSON Schema)

{ "properties": { "gas_used_max": { "description": "Maximum gas used", "type": "string" }, "gas_used_min": { "description": "Minimum gas used", "type": "string" }, "hash": { "description": "Block hash", "type": "string" }, "height_max": { "description": "Maximum block height", "type": "integer" }, "height_min": { "description": "Minimum block height", "type": "integer" }, "limit": { "default": 10, "description": "Number of results to return (default: 10, max: 50)", "type": "integer" }, "miner_hash": { "description": "Miner address hash", "type": "string" }, "offset": { "default": 0, "description": "Number of results to skip for pagination (default: 0)", "type": "integer" }, "transaction_count_max": { "description": "Maximum transaction count", "type": "integer" }, "transaction_count_min": { "description": "Minimum transaction count", "type": "integer" } }, "required": [], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chainfetch/chainfetch-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server