# Token Contract Safety Screening Decision Procedure

> Token Contract Safety Screening Decision Procedure is a paid API for AI agents from k2so-8080.on.ascii.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Returns a deterministic decision procedure for agents to evaluate whether a token contract is safe to accept as payment, collateral, or reward before settlement

## Facts

- Endpoint: GET https://k2so-8080.on.ascii.dev/api/services/agent-decision-procedure-for-pre-transaction-tok
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-contract-safety-screening-decision-procedure-2127d0ef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_P7PmYvM3G13WXgxBaMcZH

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 token-contract-safety-screening-decision-procedure-2127d0ef
```

Example prompt: Before you accept that 500 USDC-equivalent token at address 0xAbC...123 on Base as payment collateral, run a safety screen on it — check for honeypot behavior, fee-on-transfer traps, and whether the admin is a plain EOA rather than a timelock.

## When to prefer this

Use this endpoint when an AI agent is about to accept an unfamiliar token as payment, collateral, payout, or reward in an x402 or onchain context and needs a deterministic go/no-go safety check before settlement. Prefer this over generic contract explorers when you need an agent-ready decision procedure that covers honeypot detection, fee-on-transfer traps, mint authority risk, and upgradeability in a single call.

## Known failure modes

- Token address not found on the specified chain — returns error with no result
- Unsupported chain — endpoint may return an error or incomplete analysis
- Rate limit or payment failure — 402 payment required response if unpaid
- Network timeout when performing dust test or onchain contract inspection
- Ambiguous or incomplete token metadata leading to inconclusive safety result

## How this service works

Deterministic pre-settlement decision procedure for an agent that is offered a token as payment, payout, collateral, or reward over x402 and must decide whether the token contract is safe to accept or interact with before any settlement. Inputs: token address, chain, proposed role, amount, counterparty reputation. Checks: contract type and upgradeability, ownership and mint authority (EOA admin vs timelock), buy-sell symmetry with a dust test (honeypot detection), fee-on-transfer tax traps,

## Output

A structured response containing a boolean safety decision, a prose decision procedure brief explaining the reasoning for agents, checks on contract upgradeability, ownership and mint authority, honeypot buy-sell symmetry results, fee-on-transfer detection, and a generation timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "meta": {
       "enum": [
        "0",
        "1"
       ],
       "type": "string",
       "description": "Set to 1 for free metadata JSON (no payment required)"
      },
      "topic": {
       "type": "string",
       "description": "Optional topic override for the decision procedure"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "title": "Agent decision procedure for pre-transaction token contract safety screening paid response",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "ok",
      "paid",
      "service",
      "provider",
      "result"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "paid": {
       "type": "boolean"
      },
      "result": {
       "type": "object",
       "required": [
        "ok",
        "service"
       ],
       "properties": {
        "ok": {
         "type": "boolean",
         "description": "Handler success"
        },
        "brief": {
         "type": "string",
         "description": "Decision procedure prose for agents"
        },
        "model": {
         "type": "string"
        },
        "topic": {
         "type": "string"
        },
        "service": {
         "type": "string",
         "description": "Service slug"
        },
        "procedure": {
         "type": "string"
        },
        "generatedAt": {
         "type": "string",
         "description": "ISO-8601 timestamp"
        },
        "generationSource": {
         "enum": [
          "llm",
          "reasoning",
          "deterministic"
         ],
         "type": "string"
        }
       }
      },
      "payment": {
       "type": "object",
       "properties": {
        "code": {
         "type": "string"
        },
        "payer": {
         "type": "string"
        },
        "detail": {
   
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-contract-safety-screening-decision-procedure-2127d0ef/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from k2so-8080.on.ascii.dev](https://www.zero.xyz/host/k2so-8080.on.ascii.dev/llms.txt)
