402.bot
Recipe
live $0.0100 premium Contract Analysis

Contract Docs Research Pack

Combine contract ABI hints with public docs context for a single Base contract and project.

$0.0100price
4steps
4sources
240ktokens saved
16tool calls compressed
47269msmedian latency
Whatsabi Contract AbiStableenrich Exa SearchStableenrich Firecrawl ScrapeGoogle Gemini Flash Structured

Endpoint: /v1/recipes/contract-docs-research-pack/run
Capabilities: contract-research, contract-integration, docs-review, base

Why pay for this?

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

Inspect contract ABI -> Search for project docs -> Scrape top docs result -> Summarize docs research

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: 79

Usage and trust

Success 30d: 100%
Refund 30d: 0%
Paid runs: 2
Creator recipes: 1
Last run: 2026-03-12 06:24Z

Pipeline

Stage 1

Inspect contract ABI

fetch_transform

Source: Whatsabi Contract Abi
Step id: abi

Stage 2

Search for project docs

fetch_transform

Source: Stableenrich Exa Search
Step id: search

Stage 3

Scrape top docs result

fetch_transform

Source: Stableenrich Firecrawl Scrape
Step id: scrape

Stage 4

Summarize docs research

fetch_transform

Source: Google Gemini Flash Structured
Step id: summarize

Recent runs

RunStatusTriggerQueued
093ca1f0-3b5c-4a4c-a4a6-4eef4e39e00f succeeded recipe_api 2026-03-12T06:23:34.240Z
fafd6d28-a4a6-47fb-ba3a-e3d1eb2e4501 succeeded recipe_api 2026-03-12T06:08:13.363Z
View raw step spec

Inspect contract ABI

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

Search for project docs

{
  "id": "search",
  "kind": "fetch_transform",
  "title": "Search for project docs",
  "request": {
    "params": {
      "count": 5,
      "query": "{{ $.input.projectName }} {{ $.input.contractAddress }} {{ $.input.domain }} integration docs base"
    },
    "sourceId": "stableenrich_exa_search",
    "deliveryFormat": "json"
  }
}

Scrape top docs result

{
  "id": "scrape",
  "kind": "fetch_transform",
  "title": "Scrape top docs result",
  "request": {
    "params": {
      "url": "{{ $.stepsById.search.output.results[0].url }}",
      "formats": [
        "markdown",
        "text"
      ],
      "onlyMainContent": true
    },
    "sourceId": "stableenrich_firecrawl_scrape",
    "deliveryFormat": "json"
  }
}

Summarize docs research

{
  "id": "summarize",
  "kind": "fetch_transform",
  "title": "Summarize docs research",
  "request": {
    "params": {
      "input": {
        "search": "{{ $.stepsById.search.output }}",
        "projectName": "{{ $.input.projectName }}",
        "scrapedPage": "{{ $.stepsById.scrape.output }}",
        "abiInspection": "{{ $.stepsById.abi.output }}",
        "contractAddress": "{{ $.input.contractAddress }}",
        "preferredDomain": "{{ $.input.domain }}"
      },
      "prompt": "Combine the ABI hints and public docs context into a short contract research packet. Include integration notes, risk flags, and cited source links.",
      "responseSchema": {
        "type": "object",
        "required": [
          "projectName",
          "contractAddress",
          "summary",
          "docFindings",
          "integrationNotes",
          "riskFlags",
          "citedSources"
        ],
        "properties": {
          "summary": {
            "type": "string"
          },
          "riskFlags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Risk flags."
          },
          "docFindings": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Doc findings."
          },
          "projectName": {
            "type": "string"
          },
          "citedSources": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string"
                },
                "title": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          },
          "contractAddress": {
            "type": "string"
          },
          "integrationNotes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Integration notes."
          }
        },
        "additionalProperties": false
      },
      "systemInstruction": "You are preparing a contract docs research packet. Stay grounded in the supplied ABI inspection and public evidence only."
    },
    "sourceId": "google_gemini_flash_structured",
    "deliveryFormat": "json"
  }
}