{"uid":"cap_CbpixMUH93YusbknGU8Ss","slug":"tereno-aerodrome-swap-guard-48c554b7","name":"Tereno Aerodrome Swap Guard","description":"Will this prepared Aerodrome swap satisfy its encoded limit right now? Supports declared Classic and Slipstream routers, simulates on Base and returns bounded evidence. No MEV protection or inclusion guarantee.","url":"https://www.tereno.xyz/api/v1/capabilities/aerodrome.swap.guard/invoke","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Supported Aerodrome Classic or Slipstream router."},"data":{"type":"string","pattern":"^0x[a-fA-F0-9]+$","maxLength":262146,"description":"Prepared Aerodrome swap calldata."},"from":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Unsigned swap sender on Base."},"value":{"type":"string","pattern":"^[0-9]+$","description":"Native ETH value in wei."},"tokenIn":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Input token address on Base."},"amountIn":{"type":"string","pattern":"^[0-9]+$","description":"Input amount in base units/wei."},"tokenOut":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Output token address on Base."},"routerType":{"enum":["classic","slipstream"],"type":"string","description":"Router type: classic or slipstream."},"minAmountOut":{"type":"string","pattern":"^[0-9]+$","description":"Minimum output amount expected."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.25","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_DAl70zMPRT4SD642w0nn2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Simulates a prepared Aerodrome swap calldata against the Base blockchain to verify whether the encoded slippage/limit will be satisfied under current chain state.","exampleAgentPrompt":"Before I send this Aerodrome swap, can you simulate it and check whether the slippage limit in the calldata will still be satisfied right now? The router is 0x6Cb442acF35158D5eda88fe602221b67A400BE22, the sender is 0xAbC1234567890abcdef1234567890abcdef123456, the calldata is 0xa9059cbb000000..., and I'm sending 0 wei of ETH.","exampleUseCases":[{"title":"Pre-broadcast swap revert prevention","prompt":"I've got a signed Aerodrome Classic swap ready to submit — can you simulate it first to make sure the encoded minimum output limit won't cause a revert? Router is 0x6Cb442acF35158D5eda88fe602221b67A400BE22, sender is 0xDeF9876543210DEFabcdef9876543210DEFabcde, calldata is 0xd0e30db0..., and ETH value is 0."},{"title":"Slipstream route limit check","prompt":"Check whether my prepared Aerodrome Slipstream swap will pass its limit check on Base right now — the router is 0x19ceEAd7105607Cd444F5ad10dd51356716d3cf1, the from address is 0x1111111111111111111111111111111111111111, calldata is 0x12345678abcdef..., and I'm attaching 500000000000000000 wei."},{"title":"Stale quote validity guard","prompt":"My bot built this Aerodrome swap calldata a few seconds ago and I'm worried the price has moved — can you run it through a Base simulation to confirm the encoded limit is still satisfiable before broadcasting? Router 0x6Cb442acF35158D5eda88fe602221b67A400BE22, sender 0xAAAABBBBCCCCDDDDEEEEFFFF0000111122223333, calldata 0xabcdef1234..., 0 wei."}],"resultDescription":"Returns bounded simulation evidence indicating whether the swap calldata's encoded price or output limit would be satisfied under the current Base chain state, along with supporting proof data. Does not guarantee MEV protection or transaction inclusion.","failureModes":["Unsupported router address — only Aerodrome Classic and Slipstream routers are accepted","Invalid or malformed calldata that cannot be decoded as an Aerodrome swap","Simulation failure due to insufficient liquidity or extreme price movement","Network or RPC errors when fetching current Base chain state","Payment not included or insufficient USDC — x402 payment required per call","Calldata exceeds maximum length (131073 bytes)"],"whenToPreferThis":"Use this endpoint when you need a cheap, fast pre-flight check specifically for Aerodrome Finance swaps on Base before broadcasting, particularly when you want bounded simulation evidence tied to current on-chain state. Prefer this over generic transaction simulation tools (like Tereno Transaction Intent Guard) when the calldata is specifically an Aerodrome Classic or Slipstream swap and you want Aerodrome-aware limit validation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:31:29.438Z","isFirstParty":false}