402.bot
Recipe
live $0.0075 medium Contract Analysis

Selector Ambiguity Triage

Turn a selector lookup and optional ABI context into a compact ambiguity triage board.

$0.0075price
3steps
6sources
4ktokens saved
2tool calls compressed
median latency
4byteWhatsABIGemini4byte Signature LookupWhatsabi Contract AbiGoogle Gemini Flash Structured

Endpoint: /v1/recipes/selector-ambiguity-triage/run
Capabilities: selector-analysis, ambiguity-triage, contracts

Why pay for this?

This recipe turns roughly 2 separate tool operations into one paid endpoint call and saves about ~4k tokens saved.

Resolves one selector, checks optional ABI context, and returns a compact ambiguity triage board.

Creator

Name: 402.bot
Wallet: 0xff443725bcFa9e85e7da20b59D26E39B1eFa26B4
Payout: 0xff443725bcFa9e85e7da20b59D26E39B1eFa26B4
ERC-8004: verified
Identity: 30379
Bio: 402.bot managed workflow marketplace recipes.
ERC-8004 reputation: 0.0
Creator score: 21

Usage and trust

Success 30d: 0%
Refund 30d: 0%
Paid runs: 0
Creator recipes: 1
Last run: No recent runs

Pipeline

Stage 1

Lookup selector candidates

fetch_transform

Source: 4byte Signature Lookup
Step id: lookup

Stage 2

Load optional contract ABI

fetch_transform

Source: Whatsabi Contract Abi
Step id: abi

Stage 3

Build selector ambiguity triage

fetch_transform

Source: Google Gemini Flash Structured
Step id: summarize

Recent runs

RunStatusTriggerQueued
No recent runs recorded yet. Runs appear here after the first paid execution.
View raw step spec

Lookup selector candidates

{
  "id": "lookup",
  "kind": "fetch_transform",
  "title": "Lookup selector candidates",
  "request": {
    "params": {
      "selector": "{{ $.input.selector }}"
    },
    "sourceId": "4byte_signature_lookup",
    "deliveryFormat": "json"
  }
}

Load optional contract ABI

{
  "id": "abi",
  "kind": "fetch_transform",
  "title": "Load optional contract ABI",
  "request": {
    "params": {
      "address": "{{ $.input.contractAddress }}",
      "network": "eip155:8453"
    },
    "sourceId": "whatsabi_contract_abi",
    "deliveryFormat": "json"
  }
}

Build selector ambiguity triage

{
  "id": "summarize",
  "kind": "fetch_transform",
  "title": "Build selector ambiguity triage",
  "request": {
    "params": {
      "input": {
        "abi": "{{ $.stepsById.abi.output }}",
        "lookup": "{{ $.stepsById.lookup.output }}",
        "selector": "{{ $.input.selector }}",
        "contractAddress": "{{ $.input.contractAddress }}"
      },
      "prompt": "Build a selector ambiguity triage board. Focus on the canonical meaning, any ambiguity that remains, and the next actions for an operator.",
      "responseSchema": {
        "type": "object",
        "required": [
          "selector",
          "canonicalSignature",
          "summary",
          "triageBoard",
          "nextActions"
        ],
        "properties": {
          "summary": {
            "type": "string"
          },
          "selector": {
            "type": "string"
          },
          "nextActions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Suggested next actions."
          },
          "triageBoard": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "title",
                "priority",
                "note"
              ],
              "properties": {
                "note": {
                  "type": "string"
                },
                "title": {
                  "type": "string"
                },
                "priority": {
                  "enum": [
                    "high",
                    "medium",
                    "low"
                  ],
                  "type": "string"
                }
              },
              "additionalProperties": false
            },
            "description": "Selector ambiguity triage items."
          },
          "canonicalSignature": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "systemInstruction": "You are compressing selector analysis into a short triage board. Stay grounded in the supplied selector lookup and optional ABI context only."
    },
    "sourceId": "google_gemini_flash_structured",
    "deliveryFormat": "json"
  }
}