verify_attestation
Verify that a payload hash is attested in an AttestationVault by querying live Midnight contract state—no txHash required. Optionally checks that the anchored content root matches.
Instructions
Verify against LIVE Midnight contract state that a payload hash is attested in an AttestationVault (crawler-free, no txHash needed). Optionally also checks that the anchored content root matches. Returns verified:false (not an error) when absent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | Read from another network public indexer instead of the configured one | |
| contentRoot | No | Optional anchored content root to check (64 hex) | |
| payloadHash | Yes | The attested payload hash (sha256, 64 hex) | |
| contractAddress | Yes | AttestationVault contract address | |
| compiledArtifactRef | No | Contract artifact ref, defaults to 'attestation-vault' |