Why pay for this?
This recipe turns roughly 4 separate tool operations into one paid endpoint call and saves about ~10k tokens saved.
Combines price history, token-flow context, and public rebalance evidence into a compact trigger brief.
Combine price history, token-flow context, and Base rebalance evidence into a compact trigger brief.
Endpoint: /v1/recipes/base-rebalance-trigger-brief/run
Capabilities: base-rebalance, trigger-brief, yield-monitoring
This recipe turns roughly 4 separate tool operations into one paid endpoint call and saves about ~10k tokens saved.
Combines price history, token-flow context, and public rebalance evidence into a compact trigger brief.
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: Messari Asset Timeseries
Step id: timeseries
Source: Token Flow Snapshot
Step id: flow
Source: Stableenrich Exa Search
Step id: search
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": "timeseries",
"kind": "fetch_transform",
"title": "Load asset price history",
"request": {
"params": {
"limit": 14,
"assetId": "{{ $.input.assetSlug }}",
"frequency": "1d",
"metricKey": "price_usd"
},
"sourceId": "messari_asset_timeseries",
"deliveryFormat": "json"
}
}
{
"id": "flow",
"kind": "materialize",
"title": "Materialize token flow snapshot",
"request": {
"scope": {
"window": "24h",
"tokenAddress": "{{ $.input.tokenAddress }}"
},
"network": "eip155:8453",
"templateId": "token_flow_snapshot",
"deliveryFormat": "json"
}
}
{
"id": "search",
"kind": "fetch_transform",
"title": "Search Base rebalance context",
"request": {
"params": {
"count": 5,
"query": "{{ $.input.surfaceName }} Base rebalance APY drift {{ $.input.operatorGoal }}"
},
"sourceId": "stableenrich_exa_search",
"deliveryFormat": "json"
}
}
{
"id": "summarize",
"kind": "fetch_transform",
"title": "Build Base rebalance trigger brief",
"request": {
"params": {
"input": {
"flow": "{{ $.stepsById.flow.output.response.result }}",
"assetSlug": "{{ $.input.assetSlug }}",
"timeseries": "{{ $.stepsById.timeseries.output }}",
"surfaceName": "{{ $.input.surfaceName }}",
"operatorGoal": "{{ $.input.operatorGoal }}",
"searchContext": "{{ $.stepsById.search.output }}"
},
"prompt": "Build a Base rebalance trigger brief. Focus on whether the current signal is a rebalance, watch, or hold case, the trigger signals, the likely drivers, and the next actions.",
"responseSchema": {
"type": "object",
"required": [
"surfaceName",
"assetSlug",
"triggerVerdict",
"summary",
"triggerSignals",
"likelyDrivers",
"nextActions"
],
"properties": {
"summary": {
"type": "string",
"maxLength": 280
},
"assetSlug": {
"type": "string"
},
"nextActions": {
"type": "array",
"items": {
"type": "string",
"maxLength": 120
},
"maxItems": 4,
"description": "Next actions."
},
"surfaceName": {
"type": "string"
},
"likelyDrivers": {
"type": "array",
"items": {
"type": "string",
"maxLength": 120
},
"maxItems": 4,
"description": "Likely trigger drivers."
},
"triggerSignals": {
"type": "array",
"items": {
"type": "object",
"required": [
"label",
"note",
"significance"
],
"properties": {
"note": {
"type": "string",
"maxLength": 120
},
"label": {
"type": "string",
"maxLength": 60
},
"significance": {
"enum": [
"low",
"medium",
"high"
],
"type": "string"
}
},
"additionalProperties": false
},
"maxItems": 4,
"description": "Rebalance trigger signals."
},
"triggerVerdict": {
"enum": [
"rebalance",
"watch",
"hold"
],
"type": "string"
}
},
"additionalProperties": false
},
"systemInstruction": "You are compressing Base rebalance review into a bounded trigger brief. Stay grounded in the supplied price history, token-flow snapshot, and public surface context only."
},
"sourceId": "google_gemini_flash_structured",
"deliveryFormat": "json"
}
}