# Avasis ERC-20 Ethereum Token Rug/Risk Verdict

> Avasis ERC-20 Ethereum Token Rug/Risk Verdict is a paid API for AI agents from agents.avasis.ai, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-31).

Returns a RED/AMBER/GREEN risk verdict with 0-100 score for any ERC-20 token on Ethereum mainnet, checking proxy patterns, admin capabilities, ownership, supply distribution, and DEX liquidity in ~0.3s.

## Facts

- Endpoint: GET https://agents.avasis.ai/v1/eth/token-verdict?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/avasis-erc-20-ethereum-token-rug-risk-verdict-9fea00e1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3ot_Ks0BD-sRE7WjT3ylo

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 avasis-erc-20-ethereum-token-rug-risk-verdict-9fea00e1
```

Example prompt: Can you run a rug-pull risk check on the Ethereum token at 0x6982508145454Ce325dDbE47a25d4ec3d2311933 and tell me the RED/AMBER/GREEN verdict, risk score, and any dangerous admin capabilities found?

## When to prefer this

Choose this endpoint when you need a fast, deterministic, multi-factor rug/risk assessment specifically for an ERC-20 on Ethereum mainnet (chain 1). It is preferable over manual contract inspection because it checks proxy upgradability, admin bytecode capabilities, ownership renouncement, supply concentration, and real DEX liquidity in a single call at ~0.3s latency. Use the Base-chain sibling endpoint for Base tokens and the Solana endpoints for SPL tokens.

## Known failure modes

- Invalid or non-contract address returns an error or empty verdict
- Non-ERC-20 contract address may return incomplete token metadata
- Unverified or minimal bytecode contracts may have limited capability detection
- RPC timeout if Ethereum node is congested (unlikely given ~0.3s target)
- Cached results (45s TTL) may not reflect very recent contract upgrades or ownership transfers
- Tokens with no DEX liquidity will show zero TVL and may skew liquidity-based scoring

## How this service works

Fast on-chain rug/risk verdict for any ERC-20 on Ethereum (chain 1) in 2 batched RPC calls (~0.3 s, cached 45 s): RED/AMBER/GREEN + 0-100 score with weighted, evidenced flags. Checks EIP-1967 and legacy upgradeable proxies (implementation + admin), owner() and renouncement, admin capabilities in the bytecode (mint, pause, blacklist, tax/limit setters, trading switch, UUPS upgrade), the owner's share of supply, burned share, and DEX liquidity against WETH/USDC (Uniswap v3 + v2) priced by...

## Output

A JSON object containing: the overall verdict (RED/AMBER/GREEN), a 0-100 numeric risk score, a summary string, an array of weighted risk flags with evidence strings and severity, ERC-20 metadata (name, symbol, decimals, total supply, burned %), contract details (proxy type, scanned bytecode, detected admin capabilities), ownership info (owner address, active/renounced state, owner's % of supply), DEX liquidity data (pools on Uniswap v3/v2, TVL in USD, ETH/USD price), and budget telemetry (RPC calls made, elapsed ms).

## 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": [
      "token"
     ],
     "properties": {
      "token": {
       "type": "string",
       "description": "ERC-20 token contract address on Ethereum (0x + 40 hex)"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "chain",
      "token",
      "verdict",
      "flags"
     ],
     "properties": {
      "chain": {
       "type": "string"
      },
      "erc20": {
       "type": "object"
      },
      "flags": {
       "type": "array"
      },
      "token": {
       "type": "string"
      },
      "verdict": {
       "type": "object"
      },
      "contract": {
       "type": "object"
      },
      "liquidity": {
       "type": "object"
      },
      "ownership": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "eth",
  "erc20": {
   "name": "Degen",
   "symbol": "DEGEN",
   "decimals": 18,
   "totalSupply": {
    "ui": "36965636737",
    "raw": "36965636737000000000000000000"
   },
   "burnedPctOfSupply": 0.01
  },
  "flags": [
   {
    "id": "CAP_PAUSE",
    "weight": 20,
    "evidence": "transfers can be paused: bytecode dispatches pause(); owner active",
    "severity": "warn"
   }
  ],
  "token": "0x6982508145454Ce325dDbE47a25d4ec3d2311933",
  "budget": {
   "calls": 42,
   "elapsedMs": 250,
   "rpcRequests": 2
  },
  "chainId": 1,
  "verdict": {
   "level": "AMBER",
   "score": 20,
   "summary": "AMBER: CAP_PAUSE"
  },
  "contract": {
   "proxy": null,
   "scanned": "token bytecode",
   "codeBytes": 7400,
   "capabilitiesFound": [
    "PAUSE"
   ]
  },
  "liquidity": {
   "pools": [
    {
     "dex": "uniswap-v3",
     "pair": "WETH",
     "pool": "0xc9034c3e7f58003e6ae0c8438e7c8f4598d5acaa",
     "feeBps": 30,
     "quoteBalance": "70.1",
     "quoteSideUsd": 180000,
     "tokenBalancePctOfSupply": 0.4
    }
   ],
   "ethUsd": 2580.5,
   "approxTvlUsd": 485222,
   "dexesChecked": [
    "uniswap-v3",
    "uniswap-v2"
   ],
   "quoteSideUsd": 242611
  },
  "ownership": {
   "owner": "0x9c5ddc2b8d3b0e1e1a3e4f5a6b7c8d9e0f1a2b3c",
   "state": "active",
   "ownerBalancePctOfSupply": 0
  },
  "knownIssuer": null
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/avasis-erc-20-ethereum-token-rug-risk-verdict-9fea00e1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.avasis.ai](https://www.zero.xyz/host/agents.avasis.ai/llms.txt)
