Recipe 21 — Public stats endpoint for trust signals
Status: ✅ runnable SDK surface:
client.public.stats()(no auth required) Server endpoint:GET /v1/public/statsTZ reference: TZ-11 §19.3 (live trust signals)
This is the same endpoint as recipe 10, framed for embedding in a partner
landing page or status widget. Cache the response for 60s on your side; the
server-side refresh cron runs hourly (trust_stats_refresher worker) so
sub-hourly polling adds no signal.
See recipe 10 for runnable Python + TS examples.