Bankless Onchain MCP Server

Official

build_event_topic

Generate event topic signatures for blockchain events by specifying event names and argument types, enabling precise event filtering and retrieval across networks.

Instructions

Builds an event topic signature based on event name and arguments

Input Schema

NameRequiredDescriptionDefault
argumentsYesEvent arguments types
nameYesEvent name (e.g., "Transfer(address,address,uint256)")
networkYesThe blockchain network (e.g., "ethereum", "base")

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "arguments": { "description": "Event arguments types", "items": { "additionalProperties": false, "properties": { "components": { "description": "optional components for tuple types", "items": { "$ref": "#/properties/arguments/items" }, "type": "array" }, "type": { "description": "Expected output types for the method call. \n In case of a tuple, don't use type tuple, but specify the inner types (found in the source) in order. For nested structs, include the substructs types.\n \n Example: \n struct DataTypeA {\n DataTypeB b;\n //the liquidity index. Expressed in ray\n uint128 liquidityIndex;\n }\n \n struct DataTypeB {\n address token;\n }\n \n results in outputs for function with return type DataTypeA (tuple in abi): outputs: [{\"type\": \"address\"}, {\"type\": \"uint128\"}]\n ", "type": "string" } }, "required": [ "type" ], "type": "object" }, "type": "array" }, "name": { "description": "Event name (e.g., \"Transfer(address,address,uint256)\")", "type": "string" }, "network": { "description": "The blockchain network (e.g., \"ethereum\", \"base\")", "type": "string" } }, "required": [ "network", "name", "arguments" ], "type": "object" }

You must be authenticated.

Other Tools from Bankless Onchain MCP Server

Related Tools

ID: uawv4sbvqj