Skip to content
Eden Engine

OpenChain Function Signature by Selector

openchain/function-by-selector

Looks up the function signature for a 4-byte selector (first four bytes of EVM calldata, for example 0xa9059cbb) in the OpenChain signature database, with spam entries filtered out. Each match carries whether a verified contract uses it. This is the OpenChain/Sourcify database, a different source from 4byte.directory; the two can disagree.

activeper callv2

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.

Data source

OpenChain

Function and event signatures from the public OpenChain signature database (https://openchain.xyz). Served by Eden Engine; not an official OpenChain or Sourcify product.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

Connect once and your AI can find and run this tool, and any other it needs.

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "openchain/function-by-selector" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "openchain/function-by-selector" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "openchain/function-by-selector", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "openchain/function-by-selector", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "selector"
  ],
  "properties": {
    "selector": {
      "type": "string",
      "pattern": "^0x[0-9a-f]{8}$",
      "description": "Function selector: 0x followed by 8 lowercase hex digits."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "ok",
    "result"
  ],
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "result": {
      "type": "object"
    }
  },
  "description": "Wrapper with an ok flag and the matching signatures.",
  "additionalProperties": true
}