Inspect token liquidity
{
"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"
}
}
Quote the sample trade
{
"id": "quote",
"kind": "fetch_transform",
"title": "Quote the sample trade",
"request": {
"params": {
"amount": "{{ $.input.amountUsd }}",
"chainId": "{{ $.input.chainId }}",
"exactSide": "input",
"slippageBps": "{{ $.input.slippageBps }}",
"tokenInAddress": "0x833589fCD6EDB6E08f4c7C32D4f71b54bdA02913",
"tokenOutAddress": "{{ $.input.tokenAddress }}"
},
"sourceId": "uniswap_swap_quote",
"deliveryFormat": "json"
}
}
Load asset detail
{
"id": "asset",
"kind": "fetch_transform",
"title": "Load asset detail",
"request": {
"params": {
"assetId": "{{ $.input.assetSlug }}"
},
"sourceId": "messari_asset_details",
"deliveryFormat": "json"
}
}
Search Base token risk context
{
"id": "search",
"kind": "fetch_transform",
"title": "Search Base token risk context",
"request": {
"params": {
"count": 5,
"query": "{{ $.input.surfaceName }} {{ $.input.assetSlug }} Base honeypot liquidity risk {{ $.input.operatorGoal }}"
},
"sourceId": "stableenrich_exa_search",
"deliveryFormat": "json"
}
}
Build Base honeypot liquidity risk check
{
"id": "summarize",
"kind": "fetch_transform",
"title": "Build Base honeypot liquidity risk check",
"request": {
"params": {
"input": {
"asset": "{{ $.stepsById.asset.output }}",
"quote": "{{ $.stepsById.quote.output }}",
"liquidity": "{{ $.stepsById.liquidity.output }}",
"surfaceName": "{{ $.input.surfaceName }}",
"operatorGoal": "{{ $.input.operatorGoal }}",
"searchContext": "{{ $.stepsById.search.output }}"
},
"prompt": "Build a Base honeypot liquidity risk check. Focus on risk tier, honeypot signals, liquidity flags, quote guardrails, and next actions.",
"responseSchema": {
"type": "object",
"required": [
"surfaceName",
"riskTier",
"summary",
"honeypotSignals",
"liquidityFlags",
"quoteGuardrails",
"nextActions"
],
"properties": {
"summary": {
"type": "string",
"maxLength": 280
},
"riskTier": {
"enum": [
"low",
"medium",
"high"
],
"type": "string"
},
"nextActions": {
"type": "array",
"items": {
"type": "string",
"maxLength": 120
},
"maxItems": 4,
"description": "Next actions."
},
"surfaceName": {
"type": "string"
},
"liquidityFlags": {
"type": "array",
"items": {
"type": "string",
"maxLength": 120
},
"maxItems": 4,
"description": "Liquidity or depth flags."
},
"honeypotSignals": {
"type": "array",
"items": {
"type": "string",
"maxLength": 120
},
"maxItems": 4,
"description": "Honeypot or execution-risk signals."
},
"quoteGuardrails": {
"type": "array",
"items": {
"type": "string",
"maxLength": 120
},
"maxItems": 4,
"description": "Quote guardrails."
}
},
"additionalProperties": false
},
"systemInstruction": "You are compressing Base pretrade risk review into a bounded packet. Stay grounded in the supplied quote, liquidity, asset, and public risk context only."
},
"sourceId": "google_gemini_flash_structured",
"deliveryFormat": "json"
}
}