> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Set L2 Compliance Proofs

> How policy proofs are anchored and verified.

# Set L2 Compliance Proofs

Set L2 anchors proof metadata so clients can verify that a policy was satisfied for a batch of events.

## Proof Metadata

Each batch commitment can include proof metadata:

* `proofHash`: Hash of the proof artifact
* `policyHash`: Hash of the policy definition
* `allCompliant`: Boolean compliance flag

## Verification Flow

1. Fetch proof metadata from Set L2.
2. Retrieve the proof artifact from your prover storage.
3. Verify the proof locally against the policy inputs.
4. Compare computed hash with the on-chain `proofHash`.

## When to Use Compliance Proofs

* Regulatory or policy compliance (AML, order caps)
* Third-party verification requirements
* Trust minimization across vendors

## Related Documentation

* [Set L2 Overview](/stateset-set-l2)
* [Set L2 Verification](/stateset-set-l2-verification)
