Skip to content

Latest coldkey alpha shares per hotkey/subnet

GET /api/dtao/coldkey_alpha_shares/latest/v1

Returns the latest alpha-share holdings for coldkey stakes, broken out per (hotkey, subnet) position. Alpha shares behave like LP tokens: shares is a stable claim on the delegation pool while alpha shows the equivalent alpha amount at the current pool state, so a coldkey’s redeemable balance can grow even if its share count doesn’t.

Filter by coldkey, hotkey, or netuid to scope the result, and use alpha_min/alpha_max to focus on positions of a given size. For historical share balances see /api/dtao/coldkey_alpha_shares/history/v1.

NameInTypeRequiredDescription
alpha_minquerystringMinimum equivalent alpha amount (in rao).
alpha_maxquerystringMaximum equivalent alpha amount (in rao).
coldkeyquerystringFilter by stakeholder coldkey (SS58 or hex).
hotkeyquerystringFilter by delegated hotkey (SS58 or hex).
netuidqueryintegerSubnet id.
pagequeryinteger1-based page number.
limitqueryintegerPage size (max 200).
orderquerySort order, e.g. alpha_desc, shares_desc.

200 — Dtao coldkey alpha shares retrieved successfully

Section titled “200 — Dtao coldkey alpha shares retrieved successfully”

Media: application/json

Schema
{
"type": "object",
"required": [
"pagination",
"data"
],
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"required": [
"block_number",
"timestamp",
"netuid",
"coldkey",
"hotkey",
"shares",
"alpha"
],
"properties": {
"alpha": {
"type": "string"
},
"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"
}
}
},
"netuid": {
"type": "integer",
"format": "int32"
},
"shares": {
"$ref": "#/components/schemas/BigDecimal"
},
"timestamp": {
"type": "string",
"format": "date-time"
}
}
}
},
"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"
}
}
}
}
}

404 — Dtao coldkey alpha shares not found

Section titled “404 — Dtao coldkey alpha shares not found”

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.