Skip to main content
Glama

Ethereum RPC MCP Server

by 0xKoda

eth_getLogs

Retrieve Ethereum blockchain logs based on specified filter criteria, such as contract address, block range, or event topics, for detailed transaction analysis.

Instructions

Retrieves logs matching the given filter criteria

Input Schema

NameRequiredDescriptionDefault
filterYesThe filter options

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "filter": { "additionalProperties": false, "description": "The filter options", "properties": { "address": { "anyOf": [ { "pattern": "^0x[a-fA-F0-9]{40}$", "type": "string" }, { "items": { "pattern": "^0x[a-fA-F0-9]{40}$", "type": "string" }, "type": "array" } ], "description": "Contract address or a list of addresses from which logs should originate" }, "fromBlock": { "description": "Block number in hex or \"latest\", \"earliest\" or \"pending\"", "type": "string" }, "toBlock": { "description": "Block number in hex or \"latest\", \"earliest\" or \"pending\"", "type": "string" }, "topics": { "description": "Array of 32 Bytes DATA topics", "items": { "anyOf": [ { "pattern": "^0x[a-fA-F0-9]{64}$", "type": "string" }, { "items": { "pattern": "^0x[a-fA-F0-9]{64}$", "type": "string" }, "type": "array" }, { "type": "null" } ] }, "type": "array" } }, "type": "object" } }, "required": [ "filter" ], "type": "object" }
Install Server

Other Tools from Ethereum RPC MCP Server

Related Tools

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/0xKoda/eth-mcp'

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