mum

Docs · 03

API

Four HTTP routes. Bodies are raw bytes.

GET /v1/info

Spiral parameters, bucket count and size, tracked mints. The client needs nothing else.

POST /v1/setup

Body: the client’s public parameters (raw bytes, 1.6 MB). Returns { "session": "<uuid>" }. Sessions expire after 15 minutes without use; a 404 on query means “set up again”.

POST /v1/query

Body: 36 ASCII bytes of session id, then the encrypted query (16 KB). Returns the encrypted bucket (84 KB).

GET /v1/stats

Live metrics: p50/p99 server time, database size, wallets indexed, slot lag, queries served, estimated cost per million queries. Also GET /v1/sample returns a few indexed wallets for demos.