Bankless Onchain MCP Server

Official

get_events

Retrieve event logs from blockchain networks by specifying contract addresses, topics, and block ranges. Filter data to access targeted on-chain activity for analysis or monitoring.

Instructions

Fetches event logs for a given network and filter criteria

Input Schema

NameRequiredDescriptionDefault
addressesYesList of contract addresses to filter events
fromBlockNoBlock number to start fetching logs from
networkYesThe blockchain network (e.g., "ethereum", "base")
optionalTopicsNoOptional additional topics
toBlockNoBlock number to stop fetching logs at
topicYesPrimary topic to filter events

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "addresses": { "description": "List of contract addresses to filter events", "items": { "type": "string" }, "type": "array" }, "fromBlock": { "description": "Block number to start fetching logs from", "type": "number" }, "network": { "description": "The blockchain network (e.g., \"ethereum\", \"base\")", "type": "string" }, "optionalTopics": { "description": "Optional additional topics", "items": { "type": [ "string", "null" ] }, "type": "array" }, "toBlock": { "description": "Block number to stop fetching logs at", "type": "number" }, "topic": { "description": "Primary topic to filter events", "type": "string" } }, "required": [ "network", "addresses", "topic" ], "type": "object" }

You must be authenticated.

Other Tools from Bankless Onchain MCP Server

Related Tools

ID: uawv4sbvqj