# HALOWERK x402werk — Channel Voucher Audit

> HALOWERK x402werk — Channel Voucher Audit is a paid API for AI agents from x402.netzhandwerker.de, paid per call via x402, $0.006/call, status unknown (last checked 2026-09-15).

Audits a batch of payment channel vouchers, verifying signatures, claim status, and on-chain state for cryptographic payment channels on Base Mainnet.

## Facts

- Endpoint: POST https://x402.netzhandwerker.de/channel/audit
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/halowerk-x402werk-channel-voucher-audit-f7fc977b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0QHgeLbVAPszFh7R1XBT7

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 halowerk-x402werk-channel-voucher-audit-f7fc977b -d '<json body>'
```

Example prompt: Audit these 3 payment channel vouchers on Base Mainnet (eip155:8453) — voucher IDs 'v001', 'v002', 'v003' with amounts '1000000', '500000', '250000' — and tell me which ones have valid signatures and whether any have already been claimed. The channel contract is 0xAbCd1234... and channel ID is 0xdeadbeef...

## When to prefer this

Choose this endpoint when you need to batch-verify cryptographic payment channel vouchers — especially EIP-712 signed vouchers on Base Mainnet — before redemption, during dispute resolution, or for reconciliation. It combines signature validation, claim-status checking, and optional on-chain state reading in a single call, making it ideal for payment channel operators, relayers, or agents managing USDC micropayment flows via the x402 protocol.

## Known failure modes

- Invalid or missing required voucher fields (id, amount) return validation errors
- Malformed signature or 0x-prefix missing causes signature verification failure
- On-chain state unreadable without valid CAIP-2 chain and contract address — falls back to provided deposited amount
- Exceeding maxItems:200 per batch returns a schema validation error
- Invalid EIP-712 typed_data structure causes typed data verification to fail
- Payment (x402 USDC) not included or insufficient returns HTTP 402

## How this service works

HALOWERK x402werk — bezahlte Endpunkte nach x402. Preise in USDC auf Base Mainnet.

## Output

Returns an audit report for each submitted voucher indicating whether the signature is cryptographically valid, whether the voucher has been claimed, the on-chain channel deposit and state if readable, and any expiry or integrity issues found across the batch.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "type": "string",
   "description": "Optional chain, needed only to read the on-chain state, as CAIP-2 such as eip155:8453."
  },
  "vouchers": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "id",
     "amount"
    ],
    "properties": {
     "id": {
      "type": "string",
      "description": "Voucher identifier."
     },
     "amount": {
      "type": "string",
      "description": "Amount in the smallest unit, as a decimal string."
     },
     "expiry": {
      "type": "string",
      "description": "Optional expiry as a unix timestamp in seconds."
     },
     "claimed": {
      "type": "boolean",
      "description": "Whether the caller considers this voucher already claimed."
     },
     "message": {
      "type": "string",
      "description": "The signed message, for a plain message signature."
     },
     "signature": {
      "type": "string",
      "description": "The signature, 0x-prefixed."
     },
     "signed_by": {
      "type": "string",
      "description": "Address that is claimed to have signed."
     },
     "typed_data": {
      "type": "object",
      "description": "EIP-712 payload with domain, types, primaryType and message."
     }
    },
    "additionalProperties": false
   },
   "maxItems": 200,
   "minItems": 1,
   "description": "The vouchers to audit."
  },
  "deposited": {
   "type": "string",
   "description": "Optional deposit in the smallest unit, used when the contract cannot be read."
  },
  "channel_id": {
   "type": "string",
   "description": "Optional channel identifier as bytes32."
  },
  "channel_contract": {
   "type": "string",
   "description": "Optional channel contract address."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/halowerk-x402werk-channel-voucher-audit-f7fc977b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.netzhandwerker.de](https://www.zero.xyz/host/x402.netzhandwerker.de/llms.txt)
