Routes
HTTP routes
Every public route: inputs, outputs, limits and status codes.
SectionsRoutes
Routes#
| Route | What it does |
|---|---|
GET /api/chain | Latest block, gas, block pace, ETH / USD and the token once launched. Cached 8 s. |
GET /api/book | Escrow summary and the newest deals, read from contract state. ?deal=n reads one deal live. |
GET /api/nonce?address=0x… | A one-time nonce for one signed write (10 minutes). |
POST /api/records | Signed writes: profile, profile-remove, job, job-close, job-link. 400 bad input, 401 bad signature, 409 conflict, 429 limit, 503 storage not configured. |
POST /api/rpc | Read-only JSON-RPC relay for the site's own contracts, with a method allowlist and a cost budget. |