Vouch logovouch Documentation
Examples

Verify a Web Proof

Under Development: This API is currently in development. Documentation and endpoints may change. For production use, please contact our team.

Verify a Web Proof

Verify a previously generated Web Proof:

curl -X POST https://web-prover.vlayer.xyz/api/v0/verify \
  -H "Content-Type: application/json" \
  -d '{
    "serialized_web_proof": "{\"presentationJson\":{\"data\":\"<hex-encoded proof data>\",\"meta\":{\"notaryUrl\":\"https://test-notary.vlayer.xyz:443\",\"websocketProxyUrl\":\"\"},\"version\":\"0.1.0-alpha.11\"}}"
  }'

Response:

{
  "success": true,
  "recv_transcript": "HTTP/1.1 200 OK\r\nContent-Type: application/json\r\n\r\n{\"timezone\":\"UTC\",\"symbols\":[{\"symbol\":\"ETHUSDC\"}]}",
  "sent_transcript": "GET /api/v3/exchangeInfo?symbol=ETHUSDC HTTP/1.1\r\nHost: data-api.binance.vision\r\n\r\n",
  "server_domain": "data-api.binance.vision",
  "notary_key_fingerprint": "ABCD1234567890ABCDEF1234567890ABCDEF12"
}

On this page