zk-SNARK Verification
For sensitive inputs or proprietary models, AI inference may happen off-chain in a secure enclave (e.g., Intel SGX or MPC).
Workflow:
Enclave runs model → generates output
Creates zk-SNARK proof that computation was correct
Calls:
function verifyProof(bytes calldata proof, uint256[] calldata publicInputs) external returns (bool);
Oracle accepts verified result and stores it on-chain
🔐 This guarantees integrity without exposing raw data or model internals.