Chain Weights
Last updated
Fetch network-wide validator weight-setting activity over a 7d or 30d window across the subnets with observed weight-setting activity (subnets with no WeightsSet events are absent): a per-subnet leaderboard (distinct weight-setting validators, WeightsSet event count, and average updates per validator) ranked by total events, a network rollup with the true distinct setter count (a validator setting weights on several subnets counts once) and total events, and a distribution summary (count, mean, min, p25, median, p75, p90, max) of the per-subnet update intensity. limit caps the leaderboard (default 20, max 100). Computed live from the account_events WeightsSet stream; schema-stable empty block when cold. Pass ?format=csv to download the per-subnet leaderboard as CSV (the network rollup + intensity distribution stay JSON-only).
Query Parameters
Value in
- "7d"
- "30d"
1 <= value <= 100Response format override. Use csv to download the route rows as text/csv; json keeps the default response envelope.
Value in
- "json"
- "csv"
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/chain/weights"{ "data": { "intensity_distribution": { "count": 2, "max": 15, "mean": 12.5, "median": 10, "min": 10, "p25": 10, "p75": 15, "p90": 15 }, "network": { "distinct_setters": 5, "sets_per_setter": 14, "weight_sets": 70 }, "observed_at": "2026-06-01T00:00:00.000Z", "schema_version": 1, "subnet_count": 2, "subnets": [ { "distinct_setters": 4, "netuid": 1, "sets_per_setter": 10, "weight_sets": 40 }, { "distinct_setters": 2, "netuid": 2, "sets_per_setter": 15, "weight_sets": 30 } ], "window": "7d" }, "meta": { "artifact_path": "example", "cache": "short", "contract_version": "2026-06-29.1", "generated_at": "2026-06-01T00:00:00.000Z", "pagination": { "collection": "example", "cursor": 1, "limit": 1, "next_cursor": 1, "order": "asc", "returned": 1, "sort": "example", "total": 1 }, "published_at": "2026-06-01T00:00:00.000Z", "source": "live-cron-prober", "stale_contract": { "built_under": "example", "live": "example" } }, "ok": true, "schema_version": 1}