{
  "bundle_version": "1.0",
  "status": "sample",
  "note": "Public, content-free evidence bundle for one demo-tenant receipt. Contains only hashes and metering — no prompt or response content. This is a self-consistent SAMPLE: leaf → Merkle root → anchor memo all match, so the in-browser verifier passes end-to-end on real SHA-256. The Solana mainnet anchor is genuine and live (see /api/ledger/anchors and the explorer link on the Trust page); this synthetic sample's root is not itself the anchored root, so `anchor.txid` is null until refresh-sample-bundle.cjs swaps in a real pilot-tenant anchored batch. Verify it yourself: /docs/receipt-schema/.",
  "receipt": {
    "agent_version_id": "a9f1c3e7b2d48056",
    "batch_id": "c1d2e3f4-aaaa-4bbb-9ccc-0123456789ab",
    "billable": true,
    "child_of": null,
    "cost_usd": 0.01342,
    "finished_at": "2026-06-18T14:22:07.918Z",
    "inputs_hash": "5e88489e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e",
    "latency_ms": 1442,
    "model": "claude-opus-4-8",
    "outcome": "success",
    "outputs_hash": "7d2a1fc4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4",
    "prev_hash": "91f918678b8fdf3e420dbf9606df06c48d08ee6dac0fa69ea980ae23e9a77a90",
    "provider": "anthropic",
    "receipt_id": "7a3d9e10-3333-4ccc-9ddd-0000000000b7",
    "request_kind": "parent",
    "scope_used": ["chat.completions"],
    "source": "gateway",
    "started_at": "2026-06-18T14:22:06.476Z",
    "tenant_id": "11111111-2222-3333-4444-555555555555",
    "tokens_in": 312,
    "tokens_out": 188
  },
  "canonical_string": "{\"agent_version_id\":\"a9f1c3e7b2d48056\",\"billable\":true,\"cost_usd\":0.01342,\"finished_at\":\"2026-06-18T14:22:07.918Z\",\"inputs_hash\":\"5e88489e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e9e\",\"latency_ms\":1442,\"model\":\"claude-opus-4-8\",\"outcome\":\"success\",\"outputs_hash\":\"7d2a1fc4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4c4\",\"prev_hash\":\"91f918678b8fdf3e420dbf9606df06c48d08ee6dac0fa69ea980ae23e9a77a90\",\"provider\":\"anthropic\",\"request_kind\":\"parent\",\"scope_used\":[\"chat.completions\"],\"source\":\"gateway\",\"started_at\":\"2026-06-18T14:22:06.476Z\",\"tenant_id\":\"11111111-2222-3333-4444-555555555555\",\"tokens_in\":312,\"tokens_out\":188}",
  "receipt_hash": "8ae41ff9f6cd265ce08a312dacc24f89da2c634c18e0ed47a29a475ad5e70efb",
  "chain": [
    { "receipt_seq": 0, "receipt_hash": "42cb1d993970b152329b30acce1f8edbb230d85c8c995f1dc60081bf181ef991", "prev_hash": "0000000000000000000000000000000000000000000000000000000000000000" },
    { "receipt_seq": 1, "receipt_hash": "91f918678b8fdf3e420dbf9606df06c48d08ee6dac0fa69ea980ae23e9a77a90", "prev_hash": "42cb1d993970b152329b30acce1f8edbb230d85c8c995f1dc60081bf181ef991" },
    { "receipt_seq": 2, "receipt_hash": "8ae41ff9f6cd265ce08a312dacc24f89da2c634c18e0ed47a29a475ad5e70efb", "prev_hash": "91f918678b8fdf3e420dbf9606df06c48d08ee6dac0fa69ea980ae23e9a77a90" }
  ],
  "merkle": {
    "index": 2,
    "siblings": [
      "a1e163c516862796f8413251ed84d60b72da3ba78ec312b0d6569055cb28f3f0",
      "334bf9ced9b8e47c9394f126d147006fe81d6f2fcd687329ffb1aa7992905e39"
    ],
    "root": "692f786bcbb33e91ee2f19e62243a9a9287dda514acb1c0dba65261a935ff39a"
  },
  "anchor": {
    "chain": "solana",
    "cluster": "mainnet-beta",
    "txid": null,
    "block": null,
    "memo": "692f786bcbb33e91ee2f19e62243a9a9287dda514acb1c0dba65261a935ff39a",
    "explorer_base": "https://solscan.io/tx/",
    "explorer_url": null,
    "anchor_note": "Sample bundle: memo equals this bundle's Merkle root so the client verifier folds to a match. The production ledger anchors real Merkle roots on Solana mainnet via the Memo program (explorer: https://solscan.io/tx/<sig>); the live latest anchor is surfaced on /trust/."
  },
  "algorithm": {
    "leaf": "sha256Hex(JSON.stringify(canonicalize(receipt without receipt_id, batch_id)))",
    "merkle": "sorted-pair fold: hashPair(a,b)=sha256Hex(a<=b?a+b:b+a); odd nodes duplicated; empty tree -> null",
    "spec_ref": "gateway-build/00-foundation-contracts.md §1, §9"
  }
}
