verify_oracle_attestation
Cryptographically verify off-chain EIP-712 attestations from CleanWeb Oracle without gas. Confirm data integrity by recovering the signer and matching it to the expected oracle address.
Instructions
Verifies an EIP-712 cryptographic attestation produced by CleanWeb Oracle off-chain without consuming gas.
Usage Guidelines:
Use this tool to mathematically verify that data received from CleanWeb Oracle has not been tampered with.
Returns: Verification status (valid/invalid), recovered signer address, expected oracle address, and message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The original query string that was attested. | |
| data_hash | Yes | The SHA-256 data hash of the canonical JSON payload (0x...). | |
| signature | Yes | The 65-byte hex signature (0x...) from the attestation. | |
| timestamp | Yes | The Unix epoch timestamp from the attestation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |