submit_vault_call
Builds, proves, signs, and submits a sponsored AttestationVault call, waits for it to land, and returns the on-chain verification check.
Instructions
Run any AttestationVault call in one go: build, prove and sign it here with the caller seed, a sponsor pays, and the tool waits until it landed. Same calls and params as build_sponsorable_transaction: the ZK claims over a hidden field (proveFieldPredicate, proveFieldEquality, proveFieldMembership), the claims across two documents (proveFieldsUnchangedExcept, proveFieldsDiffer), disclosure (grantDisclosure, revokeDisclosure), passports and anchoring. The witness from prepare_document_proof is used here and never sent. Returns { status, attesterId, contractAddress, txHash, transactionHash, timings, check }; check is the free verify call that shows the effect on-chain. A failed job says in next what to do. If the call was cut off or came back pending, run it again with the same arguments: it picks up the job it started and submits nothing new (the answer says deduplicated). A second, separate call with the same arguments needs a new idempotencyKey.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| call | Yes | Which circuit to call | |
| params | Yes | The call parameters, listed per call in build_sponsorable_transaction | |
| docPair | No | WITNESS { schema, openingA, openingB } for proveFieldsUnchangedExcept and proveFieldsDiffer | |
| merkleProof | No | WITNESS for the proveField* calls, as prepare_document_proof returns it for that field | |
| idempotencyKey | No | Dedupes retries of the same call | |
| contractAddress | No | AttestationVault address (64 hex); default the shared sandbox vault of the network (preprod, preview) | |
| compiledArtifactRef | No | Vault lineage, default 'attestation-vault-32' (the sandbox vaults); 'attestation-vault' for a 16-slot vault |