Why pay for this?
This recipe turns roughly 4 separate tool operations into one paid endpoint call and saves about ~8k tokens saved.
Turns wallet context, candidate risk, and route options into a compact risk-off switchboard.
Turn wallet context, candidate risk, and route options into a compact risk-off switchboard.
Endpoint: /v1/recipes/stablecoin-risk-off-switchboard/run
Capabilities: trading, risk-off, stablecoin-switchboard
This recipe turns roughly 4 separate tool operations into one paid endpoint call and saves about ~8k tokens saved.
Turns wallet context, candidate risk, and route options into a compact risk-off switchboard.
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
Source: Zapper Token Balances
Step id: balances
Source: Trading Candidate Context Batch
Step id: context
Source: Route Capability Candidates
Step id: routes
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": "balances",
"kind": "fetch_transform",
"title": "Load wallet balances",
"request": {
"params": {
"first": 10,
"chainIds": [
"{{ $.input.chainId }}"
],
"addresses": [
"{{ $.input.walletAddress }}"
]
},
"sourceId": "zapper_token_balances",
"deliveryFormat": "json"
}
}
{
"id": "context",
"kind": "fetch_transform",
"title": "Build candidate context batch",
"request": {
"params": {
"chainId": "{{ $.input.chainId }}",
"candidates": "{{ $.input.candidates }}",
"settlementToken": "{{ $.input.settlementToken }}"
},
"sourceId": "trading_candidate_context_batch",
"deliveryFormat": "json"
}
}
{
"id": "routes",
"kind": "fetch_transform",
"title": "Load swap route candidates",
"request": {
"params": {
"limit": 5,
"network": "base",
"strategy": "balanced",
"capability": "swap"
},
"sourceId": "route_capability_candidates",
"deliveryFormat": "json"
}
}
{
"id": "summarize",
"kind": "fetch_transform",
"title": "Build stablecoin risk off switchboard",
"request": {
"params": {
"input": {
"routes": "{{ $.stepsById.routes.output }}",
"chainId": "{{ $.input.chainId }}",
"context": "{{ $.stepsById.context.output }}",
"balances": "{{ $.stepsById.balances.output }}",
"riskMode": "{{ $.input.riskMode }}",
"walletAddress": "{{ $.input.walletAddress }}"
},
"prompt": "Build a stablecoin risk-off switchboard. Focus on the switch actions, route notes, execution steps, and next actions.",
"responseSchema": {
"type": "object",
"required": [
"walletAddress",
"chainId",
"summary",
"switchActions",
"routeNotes",
"executionSteps",
"nextActions"
],
"properties": {
"chainId": {
"type": "integer"
},
"summary": {
"type": "string"
},
"routeNotes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Notes about swap routing or execution quality."
},
"nextActions": {
"type": "array",
"items": {
"type": "string"
},
"description": "Suggested next actions."
},
"switchActions": {
"type": "array",
"items": {
"type": "object",
"required": [
"tokenAddress",
"symbol",
"action",
"sizeUsd",
"confidence",
"note"
],
"properties": {
"note": {
"type": "string"
},
"action": {
"enum": [
"buy",
"add",
"trim",
"sell",
"hold"
],
"type": "string"
},
"symbol": {
"type": "string"
},
"sizeUsd": {
"type": "number"
},
"confidence": {
"enum": [
"high",
"medium",
"low"
],
"type": "string"
},
"tokenAddress": {
"type": "string"
}
},
"additionalProperties": false
},
"description": "Suggested risk-off switch actions."
},
"walletAddress": {
"type": "string"
},
"executionSteps": {
"type": "array",
"items": {
"type": "object",
"required": [
"step",
"tool",
"note"
],
"properties": {
"note": {
"type": "string"
},
"step": {
"type": "string"
},
"tool": {
"enum": [
"uniswap",
"bankr",
"manual"
],
"type": "string"
}
},
"additionalProperties": false
},
"description": "Suggested execution steps."
}
},
"additionalProperties": false
},
"systemInstruction": "You are compressing de-risking into a bounded operator switchboard. Stay grounded in the supplied wallet, candidate, and route context."
},
"sourceId": "google_gemini_flash_structured",
"deliveryFormat": "json"
}
}