{
  "x402Version": 2,
  "id": 2465,
  "slug": "2465",
  "resource": "https://www.tereno.xyz/api/v1/capabilities/token.launch.guard/invoke",
  "description": "Can I get out after I get in? Simulate a real sell of a funded balance against a freshly launched Base token, read the mint, blacklist, pause and fee powers still present in its bytecode, and get the block it all stops being true at. Positive-sum by design: the expensive half is the token's storage layout, shared across every agent that asks about the same bytecode, so the second caller pays $0.04 instead of $0.07 and the first earns a share of it.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xfbF218ACCBb0D57fc4E8fc3E2A885C910c4C9e94",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "70000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "capabilityId": "token.launch.guard",
            "capabilityVersion": "1.0.0",
            "invocationId": "uuid",
            "pricing": {
              "actualCacheStatus": "partial",
              "creditAppliedUsd": 0,
              "currency": "USDC",
              "listPriceUsd": 0.04,
              "pricePaidUsd": 0.04,
              "quotedCacheStatus": "partial"
            },
            "receiptUrl": "/api/v1/receipts/uuid",
            "result": {
              "computedAtBlock": 123456,
              "exit": {
                "buyTaxBps": null,
                "canSell": true,
                "sellTaxBps": 0,
                "simulationSkippedReason": null
              },
              "liquidity": {
                "lpBurnedOrLocked": null,
                "pair": "0x1111111111111111111111111111111111111111",
                "quoteAsset": "0x4200000000000000000000000000000000000006",
                "quoteReserve": "125000000000000000000"
              },
              "owner": "0x2222222222222222222222222222222222222222",
              "ownerRenounced": false,
              "powers": {
                "canBlacklist": true,
                "canMint": true,
                "canPause": true,
                "canSetFees": false,
                "codeHash": "0xabc",
                "hasOwner": true
              },
              "reasonCodes": [
                "EXIT_SIMULATED_OK",
                "OWNER_CAN_MINT",
                "OWNER_CAN_PAUSE"
              ],
              "token": {
                "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
                "decimals": 6,
                "name": "USD Coin",
                "symbol": "USDC"
              },
              "validUntilBlock": 123461,
              "verdict": "review"
            },
            "verdict": "review"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "additionalProperties": false,
                "properties": {
                  "address": {
                    "description": "Base token contract address to check before buying it.",
                    "pattern": "^0x[a-fA-F0-9]{40}$",
                    "type": "string"
                  },
                  "quote": {
                    "description": "Optional single-use quote id.",
                    "type": "string"
                  }
                },
                "required": [
                  "address"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "capabilityId": {
                    "const": "token.launch.guard"
                  },
                  "invocationId": {
                    "type": "string"
                  },
                  "pricing": {
                    "type": "object"
                  },
                  "receiptUrl": {
                    "type": "string"
                  },
                  "result": {
                    "properties": {
                      "exit": {
                        "properties": {
                          "canSell": {
                            "type": [
                              "boolean",
                              "null"
                            ]
                          },
                          "sellTaxBps": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "simulationSkippedReason": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "type": "object"
                      },
                      "liquidity": {
                        "type": "object"
                      },
                      "powers": {
                        "type": "object"
                      },
                      "reasonCodes": {
                        "items": {
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "token": {
                        "type": "object"
                      },
                      "validUntilBlock": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "token",
                      "powers",
                      "liquidity",
                      "exit",
                      "reasonCodes",
                      "validUntilBlock"
                    ],
                    "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-17T19:33:23.677Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-09-17T19:33:23.52Z"
  },
  "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"
  }
}