ZeqProof Verify
Verify a ZeqProof HMAC-SHA256 binding. Confirms a previous computation's proof is authentic and untampered.
| Endpoint | POST /api/zeq/verify |
| Auth | api-key |
| Rate limit | 60/min |
| Category | compute |
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
proof | string | Yes | ZeqProof hex string from a previous /compute response. |
operatorIds | array | Yes | Operator IDs from the original computation. |
R_t | number | Yes | R_t value (6dp). |
zeqond | number | Yes | Zeqond value. |
Returns
{ protocol: 'ZeqProof', valid, zeqond, R_t, operatorIds, verifiedAt }
Example
curl -sS -X POST \
-H "Authorization: Bearer zsm_..." \
-H "Content-Type: application/json" \
-d '{
"proof": "<proof>",
"operatorIds": [],
"R_t": 0,
"zeqond": 0
}' \
"https://zeqsdk.com/api/zeq/verify"
This protocol is a named building block — one of the operations you
compose inside a state contract. Call it directly with
the request above, or invoke it from a contract that fires on your machine's
clock. Browse the whole library at GET /api/protocols; fetch this one at
GET /api/protocols/zeq-verify.