Who votes what, on one subnet
Every validator’s weight vector on one subnet and mechanism, as stored on chain. weight is the raw u16, the voter’s largest entry reading 65535, and share that entry’s fraction of the vector. uid keeps one voter and top its heaviest entries, while entries_total keeps the full length.
Rate limit: 600 requests per minute per IP (scope anon).
Authorizations
Section titled “Authorizations”- None
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Subnet netuid. 0 is root.
Query Parameters
Section titled “Query Parameters”Mechanism to read. Default 0; an unparseable value silently reads as 0.
Keep only the N heaviest entries per voter. 0 or absent keeps them all; entries_total stays the untrimmed length. 400 when not an integer.
Only this voter’s vector. 400 when not an integer.
Responses
Section titled “Responses”Every neuron with a weight vector, by uid, with a summary of the subnet.
object
The subnet and the mechanism the vectors belong to.
object
Netuid.
The name the owner’s on-chain identity gives the subnet, else the chain’s default name for the netuid.
The subnet token’s symbol.
In blocks. Blocks between two epochs.
Echo of ?mechid=.
Incentive mechanisms on this subnet.
Whole percent of emission per mechanism; [] when unset, which splits emission evenly.
Whether validators commit their weights before revealing them, so a vector fills only at reveal. False when the hyperparameters were never read.
In epochs. How far the vectors run behind the committed votes; null unless commit_reveal.
Voters in voters.
Every neuron of the mechanism with a stored vector, by uid; ?uid= keeps that one alone.
object
The on-chain identity of the hotkey, else of the coldkey; null when neither has one.
object
The display name published on chain, or a label Taoswap curates for accounts such as exchange wallets.
Website.
Code repository URL.
Absolute URL of the logo Taoswap hosts when it has one, else the logo URL published on chain.
Absolute URL of image fit within 64 px, as WebP, for small renderings; null when image is not a raster logo Taoswap hosts (an SVG, an on-chain URL, empty) or its thumbnail is not written yet.
Discord contact, as the account wrote it.
Free text describing the account, as published on chain.
Free text the account added to its identity.
The X (Twitter) handle, without @. Curated by Taoswap, not on chain.
In alpha. The voter’s stake weight.
A fraction from 0 to 1: how closely the voter’s weights agree with consensus.
True for a staked hotkey setting weights, or a permit holder earning no miner incentive.
In blocks. Blocks since this voter last set weights.
The block at which this voter last set weights.
The block of the last chain read of this neuron’s mechanism.
The voter’s full vector length, before ?top= trims entries.
Sorted by weight, descending.
object
Raw u16, upscaled so the voter’s maximum is 65535.
A fraction from 0 to 1: this entry’s share of the voter’s vector.
Example generated
{ "subnet": { "id": 1, "name": "example", "symbol": "example", "tempo": 1, "mechid": 1, "mechanism_count": 1, "mechanism_emission_split": "example", "commit_reveal": true, "commit_reveal_period": 1 }, "count": 1, "voters": [ { "uid": 1, "hotkey": "example", "identity": { "name": "example", "url": "example", "github": "example", "image": "example", "image_thumb": "example", "discord": "example", "description": "example", "additional": "example", "x_id": "example" }, "stake": 1, "vtrust": 1, "is_validator": true, "last_update": 1, "last_update_block": 1, "updated_at_block": 1, "entries_total": 1, "entries": [ { "uid": 1, "weight": 1, "share": 1 } ] } ]}A parameter failed its check, which message names. code is usually VALIDATION_ERROR.
The error envelope every 4xx and 5xx response carries. The introduction lists the code values.
object
Always true. Lets a client branch without reading the status code.
Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.
One human-readable sentence.
Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.
Examples
VALIDATION_ERROR
{ "error": true, "code": "VALIDATION_ERROR", "message": "uid and top must be integers", "detail": null}RESOURCE_NOT_FOUND. Carries Cache-Control: public, max-age=15, short because a new block or extrinsic is indexed up to a minute late.
The error envelope every 4xx and 5xx response carries. The introduction lists the code values.
object
Always true. Lets a client branch without reading the status code.
Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.
One human-readable sentence.
Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.
Examples
RESOURCE_NOT_FOUND
{ "error": true, "code": "RESOURCE_NOT_FOUND", "message": "Not found", "detail": null}Rate limit exceeded (600/minute, per IP). Retry-After carries the seconds to wait.
The error envelope every 4xx and 5xx response carries. The introduction lists the code values.
object
Always true. Lets a client branch without reading the status code.
Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.
One human-readable sentence.
Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.
Examples
RATE_LIMITED
{ "error": true, "code": "RATE_LIMITED", "message": "Request was throttled", "detail": { "retry_after": 12 }}Headers
Section titled “Headers”Seconds before the next request is accepted.