Skip to main content

ZeqNetcode

Deterministic lockstep netcode on Zeqond ticks. 777ms authoritative frames, client-side prediction with R(t) rollback correction. Zero desync guaranteed.

EndpointPOST /api/gaming/netcode
Authapi-key
Rate limit60/min
Categorygaming

Parameters

NameTypeRequiredDescription
sessionIdstringYesGame session identifier.
playerInputsarrayYes[{ playerId, frame, inputs }]
currentFramenumberYesCurrent Zeqond frame number.

Returns

{ authoritativeState, rollbackFrames, desyncCheck, latency_ms, zeqond }

Example

curl -sS -X POST \
-H "Authorization: Bearer zsm_..." \
-H "Content-Type: application/json" \
-d '{
"sessionId": "<sessionId>",
"playerInputs": [],
"currentFrame": 0
}' \
"https://zeqsdk.com/api/gaming/netcode"

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-netcode.