Skip to main content

ZeqProof Verify

Verify a ZeqProof HMAC-SHA256 binding. Confirms a previous computation's proof is authentic and untampered.

EndpointPOST /api/zeq/verify
Authapi-key
Rate limit60/min
Categorycompute

Parameters

NameTypeRequiredDescription
proofstringYesZeqProof hex string from a previous /compute response.
operatorIdsarrayYesOperator IDs from the original computation.
R_tnumberYesR_t value (6dp).
zeqondnumberYesZeqond 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.