Skip to content

One coldkey's under-performing delegations

GET
/idle-stakes/lookup/

One coldkey’s stake on hotkeys that are miners rather than validators on their subnet, which earn no validator dividends: per delegation, the alpha amount, its value in TAO, the subnet’s average validator APY in percent and the TAO it forgoes per day.

Rate limit: 600 requests per minute per IP (scope anon).

  • None
coldkey
required
string

Coldkey SS58 address. 400 when missing.

The coldkey’s idle delegations with their totals; an empty list when it has none.

Media typeapplication/json

/idle-stakes/lookup/: one coldkey’s delegations to hotkeys that mine rather than validate on their subnet, so they earn no validator dividends.

object
coldkey
required
string
total_idle_alpha_tao
required

In TAO, to two decimals. Every alpha_tao_value of delegations added up.

number format: double
total_estimated_daily_loss_tao
required

In TAO, to two decimals. Every estimated_daily_loss_tao of delegations added up.

number format: double
delegations
required

One row per stake on a miner hotkey, root left out; empty when there is none.

Array<object>
object
netuid
required
integer
subnet_name
required

Empty string when the subnet has no name.

string
validator_hotkey
required

The hotkey staked on, a miner rather than a validator on this subnet.

string
alpha_amount
required

In alpha. The stake on that hotkey.

number format: double
alpha_tao_value
required

In TAO. What that alpha would fetch sold through the pool, slippage included.

number format: double
avg_validator_apy
required

Mean APY of the subnet’s validators. 0 when the subnet has no APY row yet.

number format: double
estimated_daily_loss_tao
required

What this delegation forgoes per day against the subnet average.

number format: double

Example generated

{
"coldkey": "example",
"total_idle_alpha_tao": 1,
"total_estimated_daily_loss_tao": 1,
"delegations": [
{
"netuid": 1,
"subnet_name": "example",
"validator_hotkey": "example",
"alpha_amount": 1,
"alpha_tao_value": 1,
"avg_validator_apy": 1,
"estimated_daily_loss_tao": 1
}
]
}

A parameter failed its check, which message names. code is usually VALIDATION_ERROR.

Media typeapplication/json

The error envelope every 4xx and 5xx response carries. The introduction lists the code values.

object
error
required

Always true. Lets a client branch without reading the status code.

boolean
code
required

Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.

string
message
required

One human-readable sentence.

string
detail
required

Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.

nullable

Examples

ExampleVALIDATIONERROR

VALIDATION_ERROR

{
"error": true,
"code": "VALIDATION_ERROR",
"message": "coldkey query parameter is required",
"detail": null
}

Rate limit exceeded (600/minute, per IP). Retry-After carries the seconds to wait.

Media typeapplication/json

The error envelope every 4xx and 5xx response carries. The introduction lists the code values.

object
error
required

Always true. Lets a client branch without reading the status code.

boolean
code
required

Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.

string
message
required

One human-readable sentence.

string
detail
required

Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.

nullable

Examples

ExampleRATELIMITED

RATE_LIMITED

{
"error": true,
"code": "RATE_LIMITED",
"message": "Request was throttled",
"detail": {
"retry_after": 12
}
}
Retry-After
integer

Seconds before the next request is accepted.