402.bot
Recipe
live $0.0075 medium General Research

LST Exchange Rate Watch

Turn on-chain LST exchange-rate reads into a compact premium-accrual watchlist.

$0.0075price
3steps
4sources
128ktokens saved
9tool calls compressed
median latency
Ethereum RPCEthereum Lst Exchange RatesGoogle Gemini Flash StructuredTransform

Endpoint: /v1/recipes/lst-exchange-rate-watch/run
Capabilities: staking, liquid-staking, lst, rocket-pool, onchain

Why pay for this?

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

On-chain LST exchange-rate reads -> exchange-rate watch

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 on-chain exchange rates

fetch_transform

Source: Ethereum Lst Exchange Rates
Step id: rate_scan

Stage 2

Write exchange-rate watch

fetch_transform

Source: Google Gemini Flash Structured
Step id: brief

Stage 3

Attach rate snapshot

transform

Source: Transform
Step id: finalize

Recent runs

RunStatusTriggerQueued
No recent runs recorded yet. Runs appear here after the first paid execution.
View raw step spec

Load on-chain exchange rates

{
  "id": "rate_scan",
  "kind": "fetch_transform",
  "title": "Load on-chain exchange rates",
  "request": {
    "params": {
      "assets": "{{ $.input.assets }}"
    },
    "sourceId": "ethereum_lst_exchange_rates",
    "deliveryFormat": "json"
  }
}

Write exchange-rate watch

{
  "id": "brief",
  "kind": "fetch_transform",
  "title": "Write exchange-rate watch",
  "request": {
    "params": {
      "input": {
        "question": "{{ $.input.question }}",
        "rateScan": "{{ $.stepsById.rate_scan.output }}"
      },
      "prompt": "Turn the supplied on-chain LST exchange-rate snapshot into a compact operator watch. Focus on what the rates imply about accrual, maturity, and what to monitor next.",
      "responseSchema": {
        "type": "object",
        "required": [
          "summary",
          "rates",
          "watchItems"
        ],
        "properties": {
          "rates": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "assetId",
                "protocol",
                "symbol",
                "takeaway"
              ],
              "properties": {
                "rate": {
                  "type": "number"
                },
                "symbol": {
                  "type": "string"
                },
                "assetId": {
                  "type": "string"
                },
                "protocol": {
                  "type": "string"
                },
                "takeaway": {
                  "type": "string"
                },
                "referenceAsset": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          },
          "summary": {
            "type": "string"
          },
          "watchItems": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Exchange-rate follow-up checks."
          }
        },
        "additionalProperties": false
      },
      "systemInstruction": "Use only the supplied exchange-rate data. Do not invent APRs, liquidity statistics, or protocol risk claims beyond the snapshot."
    },
    "sourceId": "google_gemini_flash_structured",
    "deliveryFormat": "json"
  }
}

Attach rate snapshot

{
  "id": "finalize",
  "kind": "transform",
  "title": "Attach rate snapshot",
  "request": {
    "mode": "clean_json",
    "source": {
      "kind": "json",
      "value": {
        "rates": "{{ $.stepsById.brief.output.output.rates }}",
        "summary": "{{ $.stepsById.brief.output.output.summary }}",
        "watchItems": "{{ $.stepsById.brief.output.output.watchItems }}",
        "generatedAt": "{{ $.run.startedAt }}",
        "rateSnapshot": "{{ $.stepsById.rate_scan.output }}"
      }
    }
  }
}