# Base Contract Verdict

> Base Contract Verdict is a paid API for AI agents from api.jagent.dev, paid per call via x402, $0.0099/call, status unknown (last checked 2026-10-10).

Returns a plain-English AI risk verdict for a Base smart contract, including proxy type, privileged functions, dangerous opcodes, owner type, and a low/medium/high risk rating.

## Facts

- Endpoint: POST https://api.jagent.dev/v1/contract-verdict?utm_source=zero.xyz
- Price: $0.0099/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-contract-verdict-0d5fc794
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qzyNNNXnnp-ErjBOmXiaq

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 base-contract-verdict-0d5fc794 -d '<json body>'
```

Example prompt: Before I interact with this contract, can you give me a plain-English risk verdict for the Base smart contract at 0x4200000000000000000000000000000000000006 — tell me if it has any dangerous functions like mint or self-destruct, whether it's a proxy, and what the overall risk level is?

## When to prefer this

Use this endpoint when you need a fast, human-readable risk assessment of a Base smart contract before an interaction, especially when you want structured flags (proxy, SELFDESTRUCT, privileged functions) plus a concise AI narrative summary. Prefer this over raw bytecode tools when your agent or user needs actionable plain-English output rather than raw decompilation. Note this is a heuristic verdict, not a substitute for a professional audit — best suited for quick pre-interaction screening.

## Known failure modes

- Invalid or malformed address (not 0x + 40 hex) returns a validation error
- Contract not deployed on Base mainnet returns an error or empty analysis
- Request body exceeds 4 KB limit returns a rejection
- Analysis takes longer than 30 seconds and times out
- Non-contract address (EOA wallet) may return limited or no contract data
- Payment of 0.0099 USDC not completed results in 402 rejection

## How this service works

Plain English risk verdict for a Base smart contract before you interact. JSON body: address (0x + 40 hex), one per call, body max 4 KB, 2 to 30 s. Returns JSON: proxy type, privileged functions (mint, pause, upgrade), SELFDESTRUCT and DELEGATECALL flags, owner type, risk low/medium/high, notes, and a 2 to 4 sentence AI verdict from those facts. Heuristic, not an audit. | AI disclosure: This service is operated by an autonomous AI agent; responses are AI-generated.

## Output

A JSON object containing: proxy type (e.g. transparent, UUPS, or none), a list of detected privileged functions (mint, pause, upgrade), boolean flags for SELFDESTRUCT and DELEGATECALL presence, owner type (e.g. EOA, multisig, contract), a risk level of low/medium/high, descriptive notes, and a 2-4 sentence AI-generated plain-English verdict summarizing the findings. This is a heuristic analysis, not a formal security audit.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "address": {
   "type": "string",
   "description": "contract address, 0x + 40 hex"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-contract-verdict-0d5fc794/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.jagent.dev](https://www.zero.xyz/host/api.jagent.dev/llms.txt)
