Why pay for this?
This recipe turns roughly 3 separate tool operations into one paid endpoint call and saves about ~6k tokens saved.
Turns a live position and current market context into a compact invalidation handoff packet.
Turn a live position plus current market context into a compact invalidation handoff packet.
Endpoint: /v1/recipes/trade-invalidation-handover-packet/run
Capabilities: trading, invalidation, handover-packet
This recipe turns roughly 3 separate tool operations into one paid endpoint call and saves about ~6k tokens saved.
Turns a live position and current market context into a compact invalidation handoff packet.
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: Zapper Token Price
Step id: price
Source: Messari Asset Timeseries
Step id: timeseries
Source: Messari News Feed
Step id: news
Source: Uniswap Token Liquidity
Step id: liquidity
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": "price",
"kind": "fetch_transform",
"title": "Load token price",
"request": {
"params": {
"address": "{{ $.input.tokenAddress }}",
"chainId": "{{ $.input.chainId }}",
"currency": "USD"
},
"sourceId": "zapper_token_price",
"deliveryFormat": "json"
}
}
{
"id": "timeseries",
"kind": "fetch_transform",
"title": "Load token price history",
"request": {
"params": {
"limit": 30,
"assetId": "{{ $.input.assetSlug }}",
"frequency": "1d",
"metricKey": "price_usd"
},
"sourceId": "messari_asset_timeseries",
"deliveryFormat": "json"
}
}
{
"id": "news",
"kind": "fetch_transform",
"title": "Load recent asset news",
"request": {
"params": {
"limit": 5,
"assetKeys": [
"{{ $.input.assetSlug }}"
]
},
"sourceId": "messari_news_feed",
"deliveryFormat": "json"
}
}
{
"id": "liquidity",
"kind": "fetch_transform",
"title": "Inspect token liquidity",
"request": {
"params": {
"chainId": "{{ $.input.chainId }}",
"topPools": 3,
"tokenAddresses": [
"{{ $.input.tokenAddress }}"
]
},
"sourceId": "uniswap_token_liquidity",
"deliveryFormat": "json"
}
}
{
"id": "summarize",
"kind": "fetch_transform",
"title": "Build trade invalidation handover packet",
"request": {
"params": {
"input": {
"news": "{{ $.stepsById.news.output }}",
"price": "{{ $.stepsById.price.output }}",
"chainId": "{{ $.input.chainId }}",
"balances": "{{ $.stepsById.balances.output }}",
"assetSlug": "{{ $.input.assetSlug }}",
"liquidity": "{{ $.stepsById.liquidity.output }}",
"timeseries": "{{ $.stepsById.timeseries.output }}",
"entryThesis": "{{ $.input.entryThesis }}",
"tokenAddress": "{{ $.input.tokenAddress }}",
"walletAddress": "{{ $.input.walletAddress }}"
},
"prompt": "Build a trade invalidation handover packet. Focus on the handover sections, the invalidation signals, and the next actions.",
"responseSchema": {
"type": "object",
"required": [
"walletAddress",
"chainId",
"tokenAddress",
"assetSlug",
"summary",
"handover",
"invalidationSignals",
"nextActions"
],
"properties": {
"chainId": {
"type": "integer"
},
"summary": {
"type": "string"
},
"handover": {
"type": "array",
"items": {
"type": "object",
"required": [
"section",
"detail"
],
"properties": {
"detail": {
"type": "string"
},
"section": {
"type": "string"
}
},
"additionalProperties": false
},
"description": "Compact trade handover sections."
},
"assetSlug": {
"type": "string"
},
"nextActions": {
"type": "array",
"items": {
"type": "string"
},
"description": "Suggested next actions."
},
"tokenAddress": {
"type": "string"
},
"walletAddress": {
"type": "string"
},
"invalidationSignals": {
"type": "array",
"items": {
"type": "object",
"required": [
"label",
"change",
"significance"
],
"properties": {
"label": {
"type": "string"
},
"change": {
"type": "string"
},
"significance": {
"type": "string"
}
},
"additionalProperties": false
},
"description": "Signals that would invalidate the thesis."
}
},
"additionalProperties": false
},
"systemInstruction": "You are compressing ongoing trade review into a bounded handoff. Stay grounded in the supplied wallet, market, and liquidity context."
},
"sourceId": "google_gemini_flash_structured",
"deliveryFormat": "json"
}
}