# Bounty Engineer Treasury Court – On-Chain Receipt Verification

> Bounty Engineer Treasury Court – On-Chain Receipt Verification is a paid API for AI agents from bounty-engineer-x402-prod.onrender.com, paid per call via x402, $49.9/call, status unknown (last checked 2026-10-12).

Verifies Base (EIP-155:8453) blockchain transaction receipts against expected payment parameters before x402 settlement for autonomous agent commerce.

## Facts

- Endpoint: POST https://bounty-engineer-x402-prod.onrender.com/v1/treasury-court?utm_source=zero.xyz
- Price: $49.9/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bounty-engineer-treasury-court-on-chain-receipt-verification-2b5c154d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZBIykWrfdCED6_AJkSTiU

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 bounty-engineer-treasury-court-on-chain-receipt-verification-2b5c154d -d '<json body>'
```

Example prompt: Check the treasury court on Bounty Engineer to verify that Base transaction 0xabc123... was sent to my wallet 0xdef456..., paid at least 50 USDC, and has at least 2 confirmations within the last 24 hours.

## When to prefer this

Use this endpoint when an autonomous agent needs to cryptographically confirm that a USDC payment on the Base network was actually received before proceeding with a paid action, especially in x402-gated commerce flows. Prefer it over generic blockchain explorers when you need policy-enforced validation (minimum amount, max age, confirmation count) in a single API call rather than manual on-chain lookups.

## Known failure modes

- Receipt tx_hash not found on Base — transaction may not be mined yet or hash is incorrect
- Payment amount below min_amount_usdc threshold — returns ok: false
- Transaction too old — exceeds max_age_hours policy
- Insufficient confirmations — block confirmation count below min_confirmations
- expected_pay_to address mismatch — funds sent to wrong wallet
- Network mismatch — only eip155:8453 (Base) is accepted
- Too many receipts — maxItems is 8 per call
- Service unavailable on Render cold start — timeout or 502 error

## How this service works

Machine-buyable infrastructure for autonomous agents: API cost routing, margin optimization, funding-rate data, webpage extraction, result verification, spend controls, retry planning, state, tender search and GitHub bounty intelligence.

## Output

Returns a JSON object with an 'ok' boolean indicating verification success, the mode, network identifier, receipt count processed, and any warnings about mock vs. live execution. In production, independently fetches Base chain data and checks each receipt against expected sender, recipient, minimum USDC amount, age policy, and confirmation threshold before confirming x402 settlement.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "policy": {
   "type": "object",
   "properties": {
    "max_age_hours": {
     "type": "integer"
    },
    "min_confirmations": {
     "type": "integer"
    }
   }
  },
  "network": {
   "type": "string",
   "const": "eip155:8453"
  },
  "receipts": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "tx_hash",
     "expected_pay_to",
     "min_amount_usdc"
    ],
    "properties": {
     "tx_hash": {
      "type": "string"
     },
     "invoice_ref": {
      "type": "string"
     },
     "expected_from": {
      "type": "string"
     },
     "expected_pay_to": {
      "type": "string"
     },
     "min_amount_usdc": {
      "type": "string"
     }
    }
   },
   "maxItems": 8,
   "minItems": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "mode": "treasury_court_example",
  "network": "eip155:8453",
  "warning": "Mock shape only. Real paid execution checks independently fetched Base receipts before x402 settlement.",
  "receipt_count": 1,
  "illustrative_only": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bounty-engineer-treasury-court-on-chain-receipt-verification-2b5c154d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bounty-engineer-x402-prod.onrender.com](https://www.zero.xyz/host/bounty-engineer-x402-prod.onrender.com/llms.txt)
