vlayer docs
REST API

POST /verify-zk-proof

Verify a ZK proof (v2)

POST /api/v2.0/evm/verify-zk-proof

Not Yet Implemented: This endpoint currently returns 501 Not Implemented. ZK proof verification is planned for a future release. For on-chain verification, use the RISC Zero Verifier Router directly in your smart contract.

Verify a previously generated ZK proof.

Authentication

Requests require header:

  • Authorization: Bearer <api-key>: Your API key

Current Response

All requests return 501 Not Implemented:

{
  "apiVersion": "v2.0",
  "success": false,
  "error": {
    "code": "NOT_IMPLEMENTED",
    "message": "ZK proof verification is not yet implemented"
  }
}

Fake Mode

A fake-mode variant is available at /api/v2.0/fake/evm/verify-zk-proof. It also returns 501 Not Implemented.

Alternative: On-Chain Verification

Until this endpoint is implemented, verify ZK proofs directly on-chain using the RISC Zero Verifier Router:

IRiscZeroVerifier verifier = IRiscZeroVerifier(verifierAddress);
verifier.verify(seal, IMAGE_ID, sha256(journalData));

See the verifier contract tutorial for deployment instructions, or the Binance on Ethereum example for a complete end-to-end flow.