Why pay for this?
This recipe turns roughly 3 separate tool operations into one paid endpoint call and saves about ~6k tokens saved.
Searches Dune datasets, inspects likely schemas, and returns a compact setup packet for one analytics question.
Turn a Dune question into a compact setup pack with candidate tables, schema cues, and next actions.
Endpoint: /v1/recipes/dune-query-setup-pack/run
Capabilities: dune, sql-setup, analytics-setup
This recipe turns roughly 3 separate tool operations into one paid endpoint call and saves about ~6k tokens saved.
Searches Dune datasets, inspects likely schemas, and returns a compact setup packet for one analytics question.
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
Success 30d: 0%
Refund 30d: 0%
Paid runs: 0
Creator recipes: 1
Last run: No recent runs
Use Dune directly for your own MCP and terminal setup, and use 402.bot when you want a paid, recipe-backed onchain analytics workflow.
Canonical guide: https://402.bot/recipes/dune-onchain-brief
Public sources: dune_dataset_search, dune_table_schema, dune_run_sql
Notes: Use Dune's native MCP, CLI, and skill when you want exploratory terminal workflows or docs search. Use 402.bot when you want one paid workflow that handles table discovery, schema inspection, SQL execution, and a compact analyst brief.
Source: Dune Dataset Search
Step id: dataset_search
Source: Dune Table Schema
Step id: schemas
Source: Google Gemini Flash Structured
Step id: summarize
| Run | Status | Trigger | Queued |
|---|---|---|---|
| No recent runs recorded yet. Runs appear here after the first paid execution. | |||
{
"id": "dataset_search",
"kind": "fetch_transform",
"title": "Search Dune datasets",
"request": {
"params": {
"limit": 5,
"query": "{{ $.input.question }}",
"chains": "{{ $.input.chains }}"
},
"sourceId": "dune_dataset_search",
"deliveryFormat": "json"
}
}
{
"id": "schemas",
"kind": "fetch_transform",
"title": "Inspect likely Dune schemas",
"request": {
"params": {
"tables": [
{
"fullName": "base.transactions"
},
{
"fullName": "base.logs"
}
]
},
"sourceId": "dune_table_schema",
"deliveryFormat": "json"
}
}
{
"id": "summarize",
"kind": "fetch_transform",
"title": "Build Dune query setup pack",
"request": {
"params": {
"input": {
"chains": "{{ $.input.chains }}",
"question": "{{ $.input.question }}",
"schemaHints": "{{ $.stepsById.schemas.output }}",
"datasetCandidates": "{{ $.stepsById.dataset_search.output }}"
},
"prompt": "Build a compact Dune query setup pack. Focus on the best tables, why they fit, the setup board, and the next actions needed before writing SQL.",
"responseSchema": {
"type": "object",
"required": [
"question",
"chains",
"summary",
"suggestedTables",
"setupBoard",
"nextActions"
],
"properties": {
"chains": {
"type": "array",
"items": {
"type": "string"
},
"description": "Requested chains."
},
"summary": {
"type": "string"
},
"question": {
"type": "string"
},
"setupBoard": {
"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": "Compact Dune setup board."
},
"nextActions": {
"type": "array",
"items": {
"type": "string"
},
"description": "Suggested next actions."
},
"suggestedTables": {
"type": "array",
"items": {
"type": "object",
"required": [
"fullName",
"rationale"
],
"properties": {
"fullName": {
"type": "string"
},
"rationale": {
"type": "string"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
"systemInstruction": "You are compressing Dune setup into a bounded operator packet. Stay grounded in the supplied dataset search and schema inspection results only."
},
"sourceId": "google_gemini_flash_structured",
"deliveryFormat": "json"
}
}