402.bot
Recipe
live $0.0100 premium General Research

Token Flow Risk Pack

Combine onchain token flow anomalies with public web context into one cited Base token-risk memo.

$0.0100price
5steps
5sources
278ktokens saved
19tool calls compressed
322798msmedian latency
Token Flow SnapshotStableenrich Exa SearchStableenrich Firecrawl ScrapeTransformGoogle Gemini Flash Research Extract

Endpoint: /v1/recipes/token-flow-risk-pack/run
Capabilities: token-risk, token-flow, research, base

Why pay for this?

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

Load token flow snapshot -> Search public token context -> Scrape top public context -> Prepare bounded evidence bundle -> +1 more

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

Usage and trust

Success 30d: 40%
Refund 30d: 0%
Paid runs: 5
Creator recipes: 1
Last run: 2026-03-12 10:34Z

Pipeline

Stage 1

Load token flow snapshot

materialize

Source: Token Flow Snapshot
Step id: flow

Stage 2

Search public token context

fetch_transform

Source: Stableenrich Exa Search
Step id: search

Stage 3

Scrape top public context

fetch_transform

Source: Stableenrich Firecrawl Scrape
Step id: scrape

Stage 4

Prepare bounded evidence bundle

transform

Source: Transform
Step id: sources

Stage 5

Write token-risk memo

fetch_transform

Source: Google Gemini Flash Research Extract
Step id: answer

Recent runs

RunStatusTriggerQueued
6c425b73-ca60-4dd9-9bd1-f318ab61792b succeeded recipe_api 2026-03-12T10:17:15.275Z
992e97b4-3674-4112-866d-1041af7dd0ff succeeded recipe_api 2026-03-12T10:11:54.709Z
bd7ee5bb-a231-4c21-8942-9fefc9953fbb failed recipe_api 2026-03-12T10:09:49.246Z
e3d06317-3e83-4caa-9188-db9058ba05ca running recipe_api 2026-03-12T10:05:39.257Z
e8d6b73a-a27e-442f-9781-c83526460d7a failed recipe_api 2026-03-12T09:40:53.258Z
View raw step spec

Load token flow snapshot

{
  "id": "flow",
  "kind": "materialize",
  "title": "Load token flow snapshot",
  "request": {
    "scope": {
      "window": "{{ $.input.window }}",
      "tokenAddress": "{{ $.input.tokenAddress }}",
      "treasuryAddresses": "{{ $.input.treasuryAddresses }}"
    },
    "network": "eip155:8453",
    "templateId": "token_flow_snapshot",
    "deliveryFormat": "json"
  }
}

Search public token context

{
  "id": "search",
  "kind": "fetch_transform",
  "title": "Search public token context",
  "request": {
    "params": {
      "count": 5,
      "query": "{{ $.input.projectName }} {{ $.input.tokenAddress }} {{ $.input.domain }} token risk treasury flow base"
    },
    "sourceId": "stableenrich_exa_search",
    "deliveryFormat": "json"
  }
}

Scrape top public context

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

Prepare bounded evidence bundle

{
  "id": "sources",
  "kind": "transform",
  "title": "Prepare bounded evidence bundle",
  "request": {
    "mode": "clean_json",
    "source": {
      "kind": "json",
      "value": {
        "sources": [
          {
            "id": "token_flow_snapshot",
            "url": "https://402.bot/recipes/token-flow-risk-pack",
            "text": "Token {{ $.stepsById.flow.output.token.symbol }} at {{ $.input.tokenAddress }} saw {{ $.stepsById.flow.output.sampledTransferCount }} sampled transfers in {{ $.stepsById.flow.output.window }} with {{ $.stepsById.flow.output.participantCount }} participants. Treasury net amount was {{ $.stepsById.flow.output.treasuryFlows.netAmount }} and the top counterparty was {{ $.stepsById.flow.output.topCounterparties[0].address }} with volume share {{ $.stepsById.flow.output.topCounterparties[0].volumeShare }}.",
            "title": "Onchain token flow snapshot"
          },
          {
            "id": "search_top_result",
            "url": "{{ $.stepsById.search.output.results[0].url }}",
            "text": "Search result title: {{ $.stepsById.search.output.results[0].title }}. Search result snippet: {{ $.stepsById.search.output.results[0].snippet }}.",
            "title": "{{ $.stepsById.search.output.results[0].title }}"
          },
          {
            "id": "scraped_page",
            "url": "{{ $.stepsById.scrape.output.url }}",
            "text": "Title: {{ $.stepsById.scrape.output.title }}. Description: {{ $.stepsById.scrape.output.description }}.",
            "title": "{{ $.stepsById.scrape.output.title }}"
          }
        ]
      }
    }
  }
}

Write token-risk memo

{
  "id": "answer",
  "kind": "fetch_transform",
  "title": "Write token-risk memo",
  "request": {
    "params": {
      "sources": "{{ $.stepsById.sources.output.data.sources }}",
      "question": "Assess recent Base token flow risk for {{ $.input.projectName }} at {{ $.input.tokenAddress }} using the supplied onchain flow and public evidence.",
      "maxCitations": 6,
      "maxHighlights": 6
    },
    "sourceId": "google_gemini_flash_research_extract",
    "deliveryFormat": "json"
  }
}