402.bot
Recipe
live $0.0100 premium Wallet Intelligence

Stablecoin Risk Off Switchboard

Turn wallet context, candidate risk, and route options into a compact risk-off switchboard.

$0.0100price
4steps
8sources
8ktokens saved
4tool calls compressed
median latency
Zapper402.bot RouteUniswapGeminiZapper Token BalancesTrading Candidate Context BatchRoute Capability CandidatesGoogle Gemini Flash Structured

Endpoint: /v1/recipes/stablecoin-risk-off-switchboard/run
Capabilities: trading, risk-off, stablecoin-switchboard

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.

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

Load wallet balances

fetch_transform

Source: Zapper Token Balances
Step id: balances

Stage 2

Build candidate context batch

fetch_transform

Source: Trading Candidate Context Batch
Step id: context

Stage 3

Load swap route candidates

fetch_transform

Source: Route Capability Candidates
Step id: routes

Stage 4

Build stablecoin risk off switchboard

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

Load wallet balances

{
  "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"
  }
}

Build candidate context batch

{
  "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"
  }
}

Load swap route candidates

{
  "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"
  }
}

Build stablecoin risk off switchboard

{
  "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"
  }
}