# DCL Trust Oracle – Audit Chain Record Lookup

> DCL Trust Oracle – Audit Chain Record Lookup is a paid API for AI agents from bazaar.fronesislabs.com, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-13).

Retrieves a single audit-chain record by transaction hash, returning the verdict, confidence score, agent ID, and reason from a previous trust evaluation.

## Facts

- Endpoint: GET https://bazaar.fronesislabs.com/audit/:tx_hash?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dcl-trust-oracle-audit-chain-record-lookup-9b68d5ac
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0L2_QYgcf-V9uoVtLw95c

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 dcl-trust-oracle-audit-chain-record-lookup-9b68d5ac
```

Example prompt: Can you pull up the audit chain record for transaction hash 0xabc123def456 and tell me the verdict, confidence score, and reason that was recorded?

## When to prefer this

Use this endpoint when you already have a tx_hash from a previous DCL Trust Oracle evaluation or scan call and need to retrieve its stored result — for auditing, compliance review, chain integrity verification, or post-hoc inspection. Do not use this to run a new evaluation; use the evaluate or scan endpoints for that. Prefer this over re-running an evaluation when you need the original recorded verdict with its chain provenance.

## Known failure modes

- tx_hash not found — record does not exist or was never created (404)
- Malformed tx_hash format causing request rejection (400)
- Payment not received or x402 payment failure preventing access
- Chain integrity false — upstream tampering detected, returned but flagged
- Stale or expired record if the audit chain has been pruned

## How this service works

Read one audit-chain record by tx_hash. GET path parameter, no JSON body. Returns verdict, confidence, agent_id, and reason. Does not return raw content.

## Output

Returns a structured audit record containing: tx_hash, agent_id, verdict (e.g. approved/rejected), confidence (0–1 float), reason (human-readable explanation), task_type, timestamp, chain_index, prev_hash, chain_integrity (boolean indicating whether the chain is unbroken), seal_text, and verify_url for independent verification.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "tx_hash"
     ],
     "properties": {
      "tx_hash": {
       "type": "string",
       "description": "Transaction hash returned by a previous evaluate or scan call."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "tx_hash",
      "agent_id",
      "verdict",
      "reason",
      "confidence",
      "task_type",
      "timestamp",
      "chain_index",
      "prev_hash",
      "chain_integrity",
      "seal_text",
      "verify_url"
     ],
     "properties": {
      "reason": {
       "type": "string"
      },
      "tx_hash": {
       "type": "string"
      },
      "verdict": {
       "type": "string"
      },
      "agent_id": {
       "type": "string"
      },
      "prev_hash": {
       "type": "string"
      },
      "seal_text": {
       "type": "string"
      },
      "task_type": {
       "type": "string"
      },
      "timestamp": {
       "type": "number"
      },
      "confidence": {
       "type": "number"
      },
      "verify_url": {
       "type": "string"
      },
      "chain_index": {
       "type": "integer"
      },
      "chain_integrity": {
       "type": "boolean"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dcl-trust-oracle-audit-chain-record-lookup-9b68d5ac/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bazaar.fronesislabs.com](https://www.zero.xyz/host/bazaar.fronesislabs.com/llms.txt)
