Skip to main content
Glama

Blockchain MCP Server

by lienhage

4byte

Retrieve Ethereum function signatures using a 4-byte hex selector from the 4byte.directory database. Simplify smart contract interactions by identifying function details quickly and accurately.

Instructions

Get function signatures for the given selector from 4byte.directory

Input Schema

NameRequiredDescriptionDefault
selectorYesFunction selector (4-byte hex), e.g., '0xa9059cbb' or 'a9059cbb'

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "selector": { "description": "Function selector (4-byte hex), e.g., '0xa9059cbb' or 'a9059cbb'", "type": "string" } }, "required": [ "selector" ], "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/lienhage/blockchain-mcp'

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