{
  "x402Version": 2,
  "id": 2471,
  "slug": "2471",
  "resource": "https://www.tereno.xyz/api/v1/capabilities/aerodrome.swap.guard/invoke",
  "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.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xfbF218ACCBb0D57fc4E8fc3E2A885C910c4C9e94",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "data": "0x903638a4000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000800000000000000000000000001111111111111111111111111111111111111111ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000000000010000000000000000000000004200000000000000000000000000000000000006000000000000000000000000833589fcd6edb6e08f4c7c32d4f71b54bda029130000000000000000000000000000000000000000000000000000000000000000000000000000000000000000420dd381b31aef6683db6b902084cb0ffece40da",
            "from": "0x1111111111111111111111111111111111111111",
            "to": "0xcF77a3Ba9A5CA399B7c97c74d54e5b1Beb874E43",
            "value": "10000000000000"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "capabilityId": "aerodrome.swap.guard",
            "capabilityVersion": "1.0.0",
            "invocationId": "uuid",
            "pricing": {
              "currency": "USDC",
              "pricePaidUsd": 0.05
            },
            "receiptUrl": "/api/v1/receipts/uuid",
            "result": {
              "limitations": [
                "State can change before inclusion."
              ],
              "protocol": "aerodrome",
              "router": {
                "deployment": "router-v2",
                "generation": "classic"
              },
              "simulation": {
                "estimatedGas": "180000",
                "revertReason": null,
                "success": true
              },
              "swap": {
                "functionName": "swapExactTokensForTokens",
                "limitKind": "minimum_output",
                "limitSatisfied": true
              },
              "verdict": "allow"
            },
            "verdict": "allow"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "data": {
                    "description": "Prepared Aerodrome swap calldata.",
                    "maxLength": 262146,
                    "pattern": "^0x[a-fA-F0-9]+$",
                    "type": "string"
                  },
                  "from": {
                    "description": "Unsigned swap sender on Base.",
                    "pattern": "^0x[a-fA-F0-9]{40}$",
                    "type": "string"
                  },
                  "to": {
                    "description": "Supported Aerodrome Classic or Slipstream router.",
                    "pattern": "^0x[a-fA-F0-9]{40}$",
                    "type": "string"
                  },
                  "value": {
                    "description": "Native ETH value in wei.",
                    "pattern": "^[0-9]+$",
                    "type": "string"
                  }
                },
                "required": [
                  "from",
                  "to",
                  "data"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "capabilityId": {
                    "const": "aerodrome.swap.guard"
                  },
                  "invocationId": {
                    "type": "string"
                  },
                  "pricing": {
                    "type": "object"
                  },
                  "receiptUrl": {
                    "type": "string"
                  },
                  "result": {
                    "type": "object"
                  },
                  "verdict": {
                    "enum": [
                      "allow",
                      "review",
                      "block"
                    ]
                  }
                },
                "required": [
                  "capabilityId",
                  "invocationId",
                  "verdict",
                  "result",
                  "pricing",
                  "receiptUrl"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_8kag0yoi"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "www.tereno.xyz",
  "lastUpdated": "2026-09-05T03:33:04.159Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-05T03:33:03.963Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "www.tereno.xyz",
    "manifest_name": "www.tereno.xyz",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}