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.
| Endpoint | POST /api/network/relay |
| Auth | api-key |
| Rate limit | 60/min |
| Category | network |
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
payload | string | Yes | Message payload (max 64KB). |
destination | string | Yes | Destination node or ZID. |
ttlZeqonds | number | No | Time-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.