Skip to main content
Glama

Blockscout MCP Server

Official

get_block_info

Retrieve block details such as timestamp, gas used, burnt fees, and transaction count from a blockchain. Optionally include transaction hashes for detailed analysis, useful for high-traffic chains.

Instructions

Get block information like timestamp, gas used, burnt fees, transaction count etc. Can optionally include the list of transaction hashes contained in the block. Transaction hashes are omitted by default; request them only when you truly need them, because on high-traffic chains the list may exhaust the context.

Input Schema

NameRequiredDescriptionDefault
chain_idYesThe ID of the blockchain
include_transactionsNoIf true, includes a list of transaction hashes from the block.
number_or_hashYesBlock number or hash

Input Schema (JSON Schema)

{ "properties": { "chain_id": { "description": "The ID of the blockchain", "title": "Chain Id", "type": "string" }, "include_transactions": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": false, "description": "If true, includes a list of transaction hashes from the block.", "title": "Include Transactions" }, "number_or_hash": { "description": "Block number or hash", "title": "Number Or Hash", "type": "string" } }, "required": [ "chain_id", "number_or_hash" ], "title": "get_block_infoArguments", "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/blockscout/mcp-server'

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