Skip to main content

ZeqRelay — Zeqond-Stamped Relay

Message relay with Zeqond timestamps and ZeqProof integrity. Every relayed message carries proof of its origin time and path — tampering detectable by any node.

EndpointPOST /api/network/relay
Authapi-key
Rate limit60/min
Categorynetwork

Parameters

NameTypeRequiredDescription
payloadstringYesMessage payload (max 64KB).
destinationstringYesDestination node or ZID.
ttlZeqondsnumberNoTime-to-live in Zeqonds (1–1000). Default: 100.

Returns

{ relayId, zeqondStamp, proof, hops, estimatedDeliveryZeqonds }

Example

curl -sS -X POST \
-H "Authorization: Bearer zsm_..." \
-H "Content-Type: application/json" \
-d '{
"payload": "<payload>",
"destination": "<destination>",
"ttlZeqonds": 100
}' \
"https://zeqsdk.com/api/network/relay"

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