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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>",
"data_hash": "<data_hash>",
"timestamp": "<timestamp>",
"signature": "<signature>"
},
"name": "verify_oracle_attestation"
}
}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 |