Alchemy MCP Plugin

subscribe

Subscribe to blockchain events

Input Schema

NameRequiredDescriptionDefault
addressNoThe address to filter by (for logs)
topicsNoThe topics to filter by (for logs)
typeYesThe type of subscription

Input Schema (JSON Schema)

{ "properties": { "address": { "description": "The address to filter by (for logs)", "type": "string" }, "topics": { "description": "The topics to filter by (for logs)", "items": { "type": "string" }, "type": "array" }, "type": { "description": "The type of subscription", "enum": [ "newHeads", "logs", "pendingTransactions", "mined" ], "type": "string" } }, "required": [ "type" ], "type": "object" }