402.bot
Recipe
live $0.0075 medium General Research

LST Premium vs Yield Brief

Compare on-chain LST exchange-rate accrual against liquid-staking yields in one compact brief.

$0.0075price
5steps
8sources
248ktokens saved
17tool calls compressed
median latency
Ethereum RPCLidoDefiLlamaEthereum Lst Exchange RatesLido Steth StatusDefillama Yield ScanGoogle Gemini Flash StructuredTransform

Endpoint: /v1/recipes/lst-premium-vs-yield-brief/run
Capabilities: staking, liquid-staking, lst, yield-comparison, research

Why pay for this?

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

On-chain LST rates + Lido status + DefiLlama yields -> premium-vs-yield brief

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

Load Lido status

fetch_transform

Source: Lido Steth Status
Step id: lido_status

Stage 3

Load liquid staking yields

fetch_transform

Source: Defillama Yield Scan
Step id: yield_scan

Stage 4

Write premium vs yield brief

fetch_transform

Source: Google Gemini Flash Structured
Step id: brief

Stage 5

Attach premium 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"
  }
}

Load Lido status

{
  "id": "lido_status",
  "kind": "fetch_transform",
  "title": "Load Lido status",
  "request": {
    "params": {
      "historyPoints": 7
    },
    "sourceId": "lido_steth_status",
    "deliveryFormat": "json"
  }
}

Load liquid staking yields

{
  "id": "yield_scan",
  "kind": "fetch_transform",
  "title": "Load liquid staking yields",
  "request": {
    "params": {
      "limit": "{{ $.input.limit }}",
      "sortBy": "tvlUsd",
      "projects": "{{ $.input.protocols }}",
      "minTvlUsd": "{{ $.input.minTvlUsd }}"
    },
    "sourceId": "defillama_yield_scan",
    "deliveryFormat": "json"
  }
}

Write premium vs yield brief

{
  "id": "brief",
  "kind": "fetch_transform",
  "title": "Write premium vs yield brief",
  "request": {
    "params": {
      "input": {
        "goal": "{{ $.input.goal }}",
        "rateScan": "{{ $.stepsById.rate_scan.output }}",
        "yieldScan": "{{ $.stepsById.yield_scan.output }}",
        "lidoStatus": "{{ $.stepsById.lido_status.output }}"
      },
      "prompt": "Compare the supplied LST exchange-rate snapshot, Lido status, and liquid-staking yield scan. Focus on which premiums look mature versus which yields look more incentive-shaped, and what matters for treasury or collateral decisions.",
      "responseSchema": {
        "type": "object",
        "required": [
          "summary",
          "lsts",
          "watchItems"
        ],
        "properties": {
          "lsts": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "assetId",
                "protocol",
                "symbol",
                "takeaway"
              ],
              "properties": {
                "apy": {
                  "type": "number"
                },
                "rate": {
                  "type": "number"
                },
                "symbol": {
                  "type": "string"
                },
                "tvlUsd": {
                  "type": "number"
                },
                "assetId": {
                  "type": "string"
                },
                "protocol": {
                  "type": "string"
                },
                "takeaway": {
                  "type": "string"
                },
                "referenceAsset": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          },
          "summary": {
            "type": "string"
          },
          "watchItems": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "LST premium and yield follow-up checks."
          }
        },
        "additionalProperties": false
      },
      "systemInstruction": "Use only the supplied staking data. Do not invent APRs, TVL, premiums, or protocol risk claims beyond the snapshot."
    },
    "sourceId": "google_gemini_flash_structured",
    "deliveryFormat": "json"
  }
}

Attach premium snapshot

{
  "id": "finalize",
  "kind": "transform",
  "title": "Attach premium snapshot",
  "request": {
    "mode": "clean_json",
    "source": {
      "kind": "json",
      "value": {
        "goal": "{{ $.input.goal }}",
        "lido": {
          "smaApr": "{{ $.stepsById.lido_status.output.smaApr }}",
          "totalStaked": "{{ $.stepsById.lido_status.output.totalStaked }}",
          "uniqueHolders": "{{ $.stepsById.lido_status.output.uniqueHolders }}"
        },
        "lsts": "{{ $.stepsById.brief.output.output.lsts }}",
        "summary": "{{ $.stepsById.brief.output.output.summary }}",
        "watchItems": "{{ $.stepsById.brief.output.output.watchItems }}",
        "generatedAt": "{{ $.run.startedAt }}",
        "premiumSnapshot": {
          "lido": "{{ $.stepsById.lido_status.output }}",
          "rates": "{{ $.stepsById.rate_scan.output }}",
          "yields": "{{ $.stepsById.yield_scan.output }}"
        }
      }
    }
  }
}