# ChainWard On-Chain Risk Assessment

> ChainWard On-Chain Risk Assessment is a paid API for AI agents from api.chainward.ai, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-12).

Returns a chain-verified risk report for a Base blockchain address, including risk band, behavioral flags, and an EAS attestation

## Facts

- Endpoint: GET https://api.chainward.ai/api/risk/x402?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainward-on-chain-risk-assessment-5654980b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_r0zMvz7HrGa6GqNQRF9rX

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 chainward-on-chain-risk-assessment-5654980b
```

Example prompt: Can you run a ChainWard risk check on the Base wallet 0x4baadba26c3c0bdef9e8faf173925d463aa53bb2 and tell me its risk band, any flags like stranded funds or dormancy, and whether it has an on-chain attestation?

## When to prefer this

Use this endpoint when you need a chain-verified, attested risk assessment of a specific Base wallet address — especially for AI agent wallets in the Base ecosystem. It is uniquely suited for scenarios where you need EAS-backed attestations, on-chain behavioral flags (dormancy, stranded value), and a ranked risk band derived from real transaction activity rather than self-reported or marketing data. Prefer this over generic blockchain explorers when you need a structured, machine-readable risk report with severity levels and forensic evidence links.

## Known failure modes

- Invalid or malformed address (not matching ^0x[a-fA-F0-9]{40}$) returns a validation error
- Address not found or never active on Base may return empty flags or limited data
- Stale data if the TTL has expired since last indexing
- Payment failure (insufficient USDC or x402 protocol error) blocks the request
- Network or API downtime returns a server error

## How this service works

Paste any Base or BNB Chain address before you pay or hire it. ChainWard tells you Pay or Hold, and why, from the wallet’s on-chain history. Free.

## Output

Returns a JSON object with a risk report containing: a risk band (e.g. 'high-signal'), the Base chain identifier, an array of risk flags (each with an id, title, evidence URL, source, and severity), freshness metadata (TTL state, block number, generated timestamp), an EAS attestation (UID and explorer URL), a list of items not assessed, and a disclaimer. Also includes a success boolean and report status field.

## 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": {
       "enum": [
        "base",
        "bsc"
       ],
       "type": "string",
       "default": "base",
       "description": "Chain the address is on. Payment is USDC on Base either way."
      },
      "address": {
       "type": "string",
       "pattern": "^0x[a-fA-F0-9]{40}$",
       "description": "Address to check"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "report": {
    "band": "high-signal",
    "chain": "base",
    "flags": [
     {
      "id": "stranded_value",
      "title": "USDC balance held in a dormant wallet",
      "source": "https://base.blockscout.com/address/0x4baadba26c3c0bdef9e8faf173925d463aa53bb2",
      "evidence": "Holds 5451.386272 USDC while classified dormant",
      "severity": "high"
     }
    ],
    "address": "0x4baadba26c3c0bdef9e8faf173925d463aa53bb2",
    "verdict": {
     "text": "Hold",
     "label": "hold",
     "limits": "On-chain behavior only. Absence of flags is not a clearance of the counterparty.",
     "reason": "USDC balance held in a dormant wallet: Holds 5451.386272 USDC while classified dormant."
    },
    "freshness": {
     "ttl_state": "fresh",
     "as_of_block": 51846337,
     "generated_at": "2026-09-27T04:07:05.375Z"
    },
    "disclaimer": "Risk flags from on-chain behavior only. ChainWard cannot see social engineering, off-chain agreements, or intent. Absence of flags is not a guarantee of safety.",
    "attestation": {
     "uid": "0xda5dc4ca34777d908c3f16fc9eb10a75325d2c83683adb7539c8bc4ade6f6560",
     "explorer_url": "https://base.easscan.org/attestation/view/0xda5dc4ca34777d908c3f16fc9eb10a75325d2c83683adb7539c8bc4ade6f6560"
    },
    "not_assessed": [
     "Contract bytecode or source auditing",
     "Social-engineering or off-chain reputation"
    ]
   },
   "status": "ready"
  },
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainward-on-chain-risk-assessment-5654980b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.chainward.ai](https://www.zero.xyz/host/api.chainward.ai/llms.txt)
