# DevX ERC-20 Token Safety Pre-Check

> DevX ERC-20 Token Safety Pre-Check is a paid API for AI agents from devx-x402-tools.nextill-pos.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-30).

Analyzes an ERC-20 token contract address for security risks, detecting blacklist/bot-list functions, proxy patterns, privileged functions, and returning an overall risk level

## Facts

- Endpoint: GET https://devx-x402-tools.nextill-pos.workers.dev/v1/token/check?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/devx-erc-20-token-safety-pre-check-2ce4130b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7rFBhpeBEJvj8D-EGf-m3

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 devx-erc-20-token-safety-pre-check-2ce4130b
```

Example prompt: Before I swap into this token, can you run a safety check on the contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Base and tell me if it has any blacklisting, pause functions, or other red flags?

## When to prefer this

Choose this endpoint when an AI agent needs a quick, pay-per-call ERC-20 token safety assessment before executing a swap, investment, or DeFi interaction — especially when no API key or subscription is available. It is particularly useful for catching blacklisting, pause, and proxy upgrade risks on Base and other EVM chains. Prefer it over manual block explorer inspection when automation and structured risk output are needed.

## Known failure modes

- Invalid or non-existent contract address returns an error without charge
- Unsupported chain identifier results in an error response
- Upstream RPC or blockchain node failure returns an error without charge
- Contract address that is not an ERC-20 token may return incomplete or unexpected data
- Malformed address format (non-checksummed or truncated) triggers input validation error

## How this service works

Pay-per-call utilities for AI agents, no API key or signup: read any web page as clean Markdown ($0.002), link/SEO metadata ($0.001), domain DNS + SPF/DMARC email-security audit ($0.003), ERC-20 token safety pre-check ($0.005), crypto address validation, on-chain payment verification, EIP-681/BIP21/Solana Pay payment requests with QR, multichain USDC balances ($0.01). x402 v2, USDC on Base. Invalid input / upstream failure is never charged.

## Output

Returns a JSON object with the token's name, symbol, decimals, chain, overall risk_level (e.g. 'high'), an array of security flags each with a message and severity level, a proxy object indicating any EIP-1967 implementation address, and a privileged_functions_detected map listing dangerous function signatures found in the contract.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "chain": {
       "type": "string"
      },
      "address": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "name": "USD Coin",
  "chain": "base",
  "flags": [
   {
    "msg": "blacklist/bot-list functions present...",
    "level": "high"
   }
  ],
  "proxy": {
   "eip1967_implementation": "0x..."
  },
  "symbol": "USDC",
  "decimals": 6,
  "risk_level": "high",
  "privileged_functions_detected": {
   "pause": [
    "pause()"
   ],
   "blacklist": [
    "isBlacklisted(address)"
   ]
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/devx-erc-20-token-safety-pre-check-2ce4130b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from devx-x402-tools.nextill-pos.workers.dev](https://www.zero.xyz/host/devx-x402-tools.nextill-pos.workers.dev/llms.txt)
