app_admin.py:136-157).
GET /v1/weights/latest
Returns the latest aggregated MasterWeightsResponse for the subnet. The master
gathers active-challenge inputs and computes the response over the configured
netuid and chain endpoint (app_admin.py:144-151).
This is a public read (no require_admin dependency, app_admin.py:136).
MasterWeightsResponse (schemas/weights.py:33-42):
Each entry in
source_challenges is a ChallengeWeightsResult
(schemas/weights.py:19-24):
The full field-level schema, including the related
ChallengeWeightsResponse and
FinalWeights models, is on the Weights schema page.
Error responses
Freshness
The master weights freshness window is defined byMASTER_WEIGHTS_FRESHNESS_SECONDS = 720 (schemas/weights.py:8). The
expires_at field is validated to be in the future when the response is built
(schemas/weights.py:44-48).
Related
Weights pipeline
How this vector is computed and normalized each epoch.
Validator network
The submit-only process that posts this vector on-chain.
Weights schema
The field-level models behind this response.