Skip to main content

ZeqBandwidth — Pulse-Modulated Allocation

Bandwidth allocation modulated by HulyaPulse. High-priority traffic gets the peak of the R(t) cycle; background traffic uses the troughs. Fair by physics.

EndpointPOST /api/network/bandwidth/allocate
Authapi-key
Rate limit60/min
Categorynetwork

Parameters

NameTypeRequiredDescription
streamIdstringYesData stream identifier.
prioritynumberYesPriority level (1–10). Higher = allocated at R(t) peaks.
requestedBpsnumberYesRequested bandwidth (bytes/sec).

Returns

{ allocatedBps, phaseSlot, R_t_at_slot, utilizationPct }

Example

curl -sS -X POST \
-H "Authorization: Bearer zsm_..." \
-H "Content-Type: application/json" \
-d '{
"streamId": "<streamId>",
"priority": 0,
"requestedBps": 0
}' \
"https://zeqsdk.com/api/network/bandwidth/allocate"

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