prove_field_predicates_batch
Batch-prove up to 8 field-bound predicates on a single anchored document in one transaction, with duplicate claims dropped automatically.
Instructions
Batch variant of prove_field_predicate: prove up to 8 field-bound predicates on ONE anchored document in ONE transaction (7 if contentRoot is supplied, since the anchor occupies one call slot). Duplicate claim tuples are dropped server-side. One false predicate aborts the whole batch at local proving time with zero on-chain effect. After submission the chain can finalize a PARTIAL_SUCCESS subset; verify per claim via verify_predicate_attestation instead of assuming all-or-nothing. Async: returns { jobId, status } immediately; poll get_job_status until succeeded or failed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| claims | Yes | 1-8 claims on the same payload hash | |
| sessionId | Yes | Wallet session id that signs and submits | |
| contentRoot | No | Optional Merkle root anchored as first call of the same batch | |
| payloadHash | Yes | Shared attestation payload hash (64 hex) | |
| idempotencyKey | No | Dedupes retries | |
| contractAddress | Yes | AttestationVault deployment | |
| sponsorSessionId | No | Optional second session that pays the dust fee | |
| compiledArtifactRef | No | Contract artifact ref, defaults to 'attestation-vault' |