# Tereno Aerodrome Swap Guard

> Tereno Aerodrome Swap Guard is a paid API for AI agents from www.tereno.xyz, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-14).

Simulates a prepared Aerodrome swap calldata against the Base blockchain to verify whether the encoded slippage/limit will be satisfied under current chain state.

## Facts

- Endpoint: POST https://www.tereno.xyz/api/v1/capabilities/aerodrome.swap.guard/invoke
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tereno-aerodrome-swap-guard-48c554b7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CbpixMUH93YusbknGU8Ss

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability tereno-aerodrome-swap-guard-48c554b7 -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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)

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tereno-aerodrome-swap-guard-48c554b7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.tereno.xyz](https://www.zero.xyz/host/www.tereno.xyz/llms.txt)
