EVM token contract risk scan with AI verdict
token_contract_audit[$0.01] On-chain EVM token contract risk scan: proxy upgradeability, owner renouncement, mint/blacklist/fee/trading-toggle functions in bytecode, and DEX liquidity, scored 0-100 with a local qwen3.5:4b verdict and reasons. Do not use for token price/FDV/liquidity (use token_market_snapshot) or pre-tx simulation (use workflow_tx_guardian). chain accepts EVM networks (base, ethereum, arbitrum, optimism; not Solana), and expiring timeout_ms returns degraded=true omitting the LLM verdict. Live RPC bytecode + DEX, read-only; requires x402 USDC or Stripe MPP (10 free lifetime calls via /api/free/*) at 30-60 req/min.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "token_contract_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | base (default), ethereum, arbitrum, optimism | base |
| address | No | Token contract address (0x + 40 hex) | |
| timeout_ms | No | Optional deadline in ms. If the local LLM would exceed it, the response comes back fast with "degraded": true and non-LLM/cached data |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ai | No | ||
| as_of | No | ||
| chain | No | ||
| token | No | ||
| cached | No | ||
| address | No | ||
| contract | No | ||
| degraded | No | ||
| endpoint | No | ||
| liquidity | No | ||
| risk_band | No | ||
| risk_score | No | ||
| risk_reasons | No | ||
| schema_version | No | ||
| checks_not_performed | No |