# HOOKWATCH - Uniswap v4 Hook Risk Report

> HOOKWATCH - Uniswap v4 Hook Risk Report is a paid API for AI agents from hookwatch.bradleyswartz317.workers.dev, paid per call via x402, $0.5/call, status down (last checked 2026-11-23).

Generates an on-chain intelligence report for a Uniswap v4 hook contract on Base, covering proxy status, admin ownership, and hook permissions.

## Facts

- Endpoint: POST https://hookwatch.bradleyswartz317.workers.dev/v1/v4/risk-report?utm_source=zero.xyz
- Price: $0.5/call
- Payment: x402
- Status: down
- Last checked: 2026-11-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hookwatch-uniswap-v4-hook-risk-report-f6a5f543
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_H-5XFmLKxusGMlr6i4Xtc

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 hookwatch-uniswap-v4-hook-risk-report-f6a5f543 -d '<json body>'
```

Example prompt: Can you pull a HOOKWATCH risk report for the Uniswap v4 hook at 0x0469a4bd3724dc86c9542f4694c976da13c450c0 on Base mainnet — I want to see its proxy status, owner, and what swap permissions it has?

## When to prefer this

Use this endpoint when you need on-chain intelligence about a specific Uniswap v4 hook contract on Base, particularly to assess proxy patterns, admin ownership, and hook permission flags before interacting with or routing through a pool. Prefer this over manual RPC calls when you want structured, pre-parsed risk observations in a single request. This is NOT a formal security audit — use it as a quick due-diligence signal for DeFi automation or agent-driven liquidity management.

## Known failure modes

- Invalid hook_address format (not a 40-char hex) returns validation error
- Hook address not deployed on Base returns empty or null code evidence
- Unsupported chain_id (anything other than 8453) rejected
- Payment not provided or insufficient USDC via x402 returns 402 Payment Required
- RPC timeout or Base node unavailability causes delayed or failed response

## How this service works

Uniswap v4 hook intelligence for Base. Paid endpoints use the x402 exact scheme with USDC. Reports are observations of public on-chain data and are NOT security audits.

## Output

Returns a JSON object with: ok status, admin ownership details (owner address or UNKNOWN with evidence), proxy detection (is_proxy boolean and implementation address), product type, chain_id, evidence blocks (block number and source), risk_notes array, hook permissions (e.g. beforeSwap, afterSwap booleans), hook_address, and a not_an_audit disclaimer flag.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "pool_id": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{64}$",
   "description": "Optional pool id to attribute the hook to."
  },
  "chain_id": {
   "enum": [
    8453
   ],
   "type": "integer",
   "default": 8453,
   "description": "8453 for Base mainnet, 84532 for Base Sepolia."
  },
  "hook_address": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{40}$",
   "description": "The v4 hook contract address."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "admin": {
   "owner": "UNKNOWN",
   "evidence": "No owner() selector observed"
  },
  "proxy": {
   "is_proxy": false,
   "implementation": null
  },
  "product": "full_report",
  "chain_id": 8453,
  "evidence": [
   {
    "block": 53443202,
    "source": "eth_getCode"
   }
  ],
  "risk_notes": [],
  "permissions": {
   "afterSwap": true,
   "beforeSwap": true
  },
  "hook_address": "0x0469a4bd3724dc86c9542f4694c976da13c450c0",
  "not_an_audit": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hookwatch-uniswap-v4-hook-risk-report-f6a5f543/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from hookwatch.bradleyswartz317.workers.dev](https://www.zero.xyz/host/hookwatch.bradleyswartz317.workers.dev/llms.txt)
