Skip to main content
The master computes and serves the aggregated weight vector for the subnet. This is a public read used by validators (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).
curl -s "$MASTER_URL/v1/weights/latest"
ResponseMasterWeightsResponse (schemas/weights.py:33-42):
FieldTypeNotes
netuidintegerSubnet id; 100 for BASE (config/settings.py:12)
chain_endpointstringChain endpoint used for the computation (schemas/weights.py:35)
uidsarray of integerUIDs in the weight vector (schemas/weights.py:36)
weightsarray of numberWeights aligned to uids (schemas/weights.py:37)
hotkey_weightsobjectMap of hotkey to weight (schemas/weights.py:38)
computed_atdatetimeWhen the vector was computed (schemas/weights.py:39)
expires_atdatetimeFreshness deadline; must be in the future (schemas/weights.py:40, schemas/weights.py:44-48)
source_challengesarrayPer-challenge contributions, ChallengeWeightsResult (schemas/weights.py:41)
metagraph_updated_atdatetimeWhen the metagraph snapshot was taken (schemas/weights.py:42)
Each entry in source_challenges is a ChallengeWeightsResult (schemas/weights.py:19-24):
FieldTypeNotes
slugstringChallenge slug (schemas/weights.py:20)
emission_percentnumberChallenge emission share (schemas/weights.py:21)
weightsobjectPer-hotkey weights from the challenge (schemas/weights.py:22)
okbooleanWhether collection succeeded; default true (schemas/weights.py:23)
errorstring or nullError detail when ok is false (schemas/weights.py:24)
The full field-level schema, including the related ChallengeWeightsResponse and FinalWeights models, is on the Weights schema page.

Error responses

StatusWhenSource
503The master weight service is unavailableapp_admin.py:138-142
502Computation raised an unexpected errorapp_admin.py:154-157

Freshness

The master weights freshness window is defined by MASTER_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).

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.