Skip to main content
Glama

EVM MCP Server

by JamesANZ

eth_getLogs

Retrieve blockchain event logs by filtering for specific contract addresses, topics, and block ranges to monitor smart contract activity and transaction events.

Instructions

Returns an array of all logs matching a given filter object

Input Schema

NameRequiredDescriptionDefault
addressNoContract address (optional)
fromBlockNoStarting block (hex or 'latest', 'earliest', 'pending')
toBlockNoEnding block (hex or 'latest', 'earliest', 'pending')
topicsNoArray of topic filters (optional)

Input Schema (JSON Schema)

{ "properties": { "address": { "description": "Contract address (optional)", "type": "string" }, "fromBlock": { "description": "Starting block (hex or 'latest', 'earliest', 'pending')", "type": "string" }, "toBlock": { "description": "Ending block (hex or 'latest', 'earliest', 'pending')", "type": "string" }, "topics": { "description": "Array of topic filters (optional)", "items": { "type": "string" }, "type": "array" } }, "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/JamesANZ/evm-mcp'

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