Skip to content

Neuron incentive distribution

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.

GET /api/neuron/incentive_distribution/v1
NameInTypeRequiredDescription
netuidqueryintegerSubnet ID
daysqueryintegerInteger between 1 and 7

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"
}
}
}
}
}

Interactive request console coming soon. In the meantime you can use the OpenAPI spec with any client (Insomnia, Bruno, Scalar, curl).

All Taostats API requests require an Authorization header containing your API key. See Getting Started.