The services subnets list for their gamma, each with what was spent at it
Every service a hotkey publishes on a subnet, by subnet then hotkey, with the gamma the deposits’ hotkeys spent at it and how many of them did. Spends name their service since runtime 493, so the totals start there; they count the subnet’s current occupant alone, as the chain clears its own at a dissolution. A service that is no longer listed keeps its row, url null, while such spends name it. netuid keeps one subnet, hotkey one service hotkey on every subnet. Not paginated.
Rate limit: 300 requests per minute per IP (scope explore).
Authorizations
Section titled “Authorizations”- None
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”SS58 address of a service’s hotkey: its services only. 400 when it contains a NUL byte.
One subnet’s services only. 400 when not an integer.
Responses
Section titled “Responses”The services, by subnet then hotkey.
The services subnets list for their gamma.
object
By subnet then hotkey.
A service a hotkey publishes on a subnet for its gamma, with what was spent at it.
object
The subnet the service is listed on.
SS58 of the hotkey that set the service, which the spends name.
The document describing the hotkey’s services, as set, at most 256 bytes. Untrusted: link it, never fetch or render it. Null once the subnet no longer lists the service.
SS58 of the spender customers named for the service up to runtime 492. Null since 493.
In units of 10⁻⁹ gamma. What the deposits’ hotkeys spent at the service on this subnet since its occupant registered; 0 for none, and before runtime 493, when a spend named no service.
How many deposit hotkeys spent at the service.
Example generated
{ "results": [ { "netuid": 1, "hotkey": "example", "url": "example", "spender": "example", "spent": 1, "hotkeys_count": 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": "netuid must be an integer", "detail": null}Rate limit exceeded (300/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.