Skip to main content
Glama

Blockscout MCP Server

Official

get_transaction_logs

Retrieve enriched transaction logs with decoded event parameters and values. Analyze smart contract events, track token transfers, monitor DeFi interactions, debug emissions, and understand multi-contract flows. Supports pagination for extended data retrieval.

Instructions

Get comprehensive transaction logs. Unlike standard eth_getLogs, this tool returns enriched logs, primarily focusing on decoded event parameters with their types and values (if event decoding is applicable). Essential for analyzing smart contract events, tracking token transfers, monitoring DeFi protocol interactions, debugging event emissions, and understanding complex multi-contract transaction flows. **SUPPORTS PAGINATION**: If response includes 'pagination' field, use the provided next_call to get additional pages.

Input Schema

NameRequiredDescriptionDefault
chain_idYesThe ID of the blockchain
cursorNoThe pagination cursor from a previous response to get the next page of results.
transaction_hashYesTransaction hash

Input Schema (JSON Schema)

{ "properties": { "chain_id": { "description": "The ID of the blockchain", "title": "Chain Id", "type": "string" }, "cursor": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "The pagination cursor from a previous response to get the next page of results.", "title": "Cursor" }, "transaction_hash": { "description": "Transaction hash", "title": "Transaction Hash", "type": "string" } }, "required": [ "chain_id", "transaction_hash" ], "title": "get_transaction_logsArguments", "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