Neuron incentive distribution
Description
Section titled “Description”Returns the incentive distribution across neurons on a subnet over the last days days (1–7). Each row records a neuron by (uid, hotkey, coldkey) together with its registration_block, is_immune flag, incentive value, and the block_number / timestamp the sample was taken at.
Both netuid and days are required. Use this to inspect who is earning incentive on a subnet in the recent past, or to build a distribution/histogram of incentive over the sampled window.
Endpoint
Section titled “Endpoint”GET /api/neuron/incentive_distribution/v1Parameters
Section titled “Parameters”| Name | In | Type | Required | Description |
|---|---|---|---|---|
netuid | query | integer | ✅ | Subnet ID |
days | query | integer | ✅ | Integer between 1 and 7 |
Responses
Section titled “Responses”200 — Neuron history retrieved successfully
Section titled “200 — Neuron history retrieved successfully”Media: application/json
Schema
{ "type": "object", "required": [ "pagination", "data" ], "properties": { "data": { "type": "array", "items": { "type": "object", "required": [ "block_number", "timestamp", "uid", "hotkey", "coldkey", "registration_block", "is_immune", "incentive" ], "properties": { "block_number": { "type": "integer", "format": "int32" }, "coldkey": { "type": "object", "required": [ "ss58", "hex" ], "properties": { "hex": { "type": "string", "description": "The hex format of the hot key" }, "ss58": { "type": "string", "description": "The SS58 format of the hot key" } } }, "hotkey": { "type": "object", "required": [ "ss58", "hex" ], "properties": { "hex": { "type": "string", "description": "The hex format of the hot key" }, "ss58": { "type": "string", "description": "The SS58 format of the hot key" } } }, "incentive": { "type": "string" }, "is_immune": { "type": "boolean" }, "registration_block": { "type": "integer", "format": "int32" }, "timestamp": { "type": "string", "format": "date-time" }, "uid": { "type": "integer", "format": "int32" } } } }, "pagination": { "type": "object", "required": [ "current_page", "per_page", "total_items", "total_pages" ], "properties": { "current_page": { "type": "integer", "format": "int32" }, "next_page": { "type": "integer", "format": "int32", "nullable": true }, "per_page": { "type": "integer", "format": "int32" }, "prev_page": { "type": "integer", "format": "int32", "nullable": true }, "total_items": { "type": "integer", "format": "int32" }, "total_pages": { "type": "integer", "format": "int32" } } } }}400 — Bad request
Section titled “400 — Bad request”404 — Neuron history not found
Section titled “404 — Neuron history not found”500 — Internal server error
Section titled “500 — Internal server error”Try it
Section titled “Try it”Interactive request console coming soon. In the meantime you can use the OpenAPI spec with any client (Insomnia, Bruno, Scalar, curl).
Authentication
Section titled “Authentication”All Taostats API requests require an Authorization header containing your API key. See Getting Started.