Chain parameters the client needs to build a transaction, swap-venue state, measured latency per shard.
GET/v1/network
Chain constants are re-read from the gateway's /network/config every epoch. Latency figures are
measured values only; nothing is estimated.
nativeAuth carries a recent shard-1 block hash for headless agents. A native-auth token must
embed a shard-1 block hash, because the API checks it against its own record of recent shard-1 blocks
without calling a gateway.
contractPause reflects the contract's getPauseState() and swapVenue reflects the exchange venue.
They are separate conditions with separate error codes: CONTRACT_PAUSED and SWAP_VENUE_PAUSED.
Responses
- 200
- 429
Network view.
Response Headers
Public documents are cacheable for at most 6 s.
RATE_LIMITED, GAS_BUDGET_EXCEEDED, HOURLY_BURN_EXCEEDED, TOO_MANY_IN_FLIGHT, QUOTA_EXHAUSTED (the latter without Retry-After; details.reason = CAP_REACHED_PAYG_OFF | PAYG_ESCROW_EMPTY).
Response Headers
Seconds (HTTP standard). Millisecond precision is in details.retryAfterMs of the problem body.
Requests (or RU on the relay path) allowed in the current window.
Remaining units in the current window.
Seconds until the window resets (IETF RateLimit header fields).