ep_generate_zk_proof
Proves a trust claim (e.g., score > threshold) without revealing receipt contents or identities. Returns a proof_id for public verification, keeping transaction history private.
Instructions
Generate a privacy-preserving commitment proof. Proves a trust claim (e.g., score > 0.85 in the financial domain, or > 50 verified receipts) WITHOUT revealing receipt contents, counterparty identities, or transaction details. Uses HMAC-SHA256 commitments + Merkle trees. Returns a proof_id you can share publicly — verifiers call ep_verify_zk_proof with only the proof_id and learn nothing about your transaction history. Essential for privacy-sensitive contexts: healthcare (HIPAA), legal (privilege), finance (NDA/MNPI), and any situation where sharing transaction history is not possible. Requires your EP API key (you can only prove claims about your own entity).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | Yes | Your EP entity ID. Must match the API key used to authenticate. | |
| claim_type | Yes | score_above: global behavioral score > threshold. domain_score_above: per-domain score > threshold (requires domain). receipt_count_above: total receipts > threshold (integer count). | |
| threshold | Yes | 0.0–1.0 for score claims (e.g. 0.85 = 85th percentile behavioral score). Positive integer for receipt_count_above (e.g. 50 = at least 50 receipts). | |
| domain | No | Required for domain_score_above claims. Which behavioral domain to prove. |