Skip to content

Miner autostake events

Returns miner autostake events. Each row records a coldkey autostaking mining rewards from a source hotkey to a destination_hotkey on a given netuid, with the staked amount (in rao) and the block_number / timestamp the event was recorded at.

Filter by netuid, hotkey (source), destination_hotkey, or coldkey to fix parties, and by block_number (exact) or block_start/block_end / timestamp_start/timestamp_end to bound the window. Use this to audit autostake routing for a miner over time.

GET /api/miner/autostake/v1
NameInTypeRequiredDescription
netuidqueryinteger
hotkeyquerystringSS58 or hex format
coldkeyquerystringSS58 or hex format
destination_hotkeyquerystringSS58 or hex format
block_numberqueryinteger
block_startqueryintegerStart of block range (inclusive)
block_endqueryintegerEnd of block range (inclusive)
timestamp_startqueryintegerStart of timestamp range in Unix timestamp (seconds since 1970-01-01) (inclusive)
timestamp_endqueryintegerEnd of timestamp range in Unix timestamp (seconds since 1970-01-01) (inclusive)
pagequeryinteger
limitqueryinteger
orderquery

200 — Miner autostake events retrieved successfully

Section titled “200 — Miner autostake events retrieved successfully”

Media: application/json

Schema
{
"type": "object",
"required": [
"pagination",
"data"
],
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"required": [
"netuid",
"coldkey",
"hotkey",
"destination_hotkey",
"amount",
"block_number",
"timestamp"
],
"properties": {
"amount": {
"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"
}
}
},
"destination_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"
}
}
},
"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"
},
"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"
}
}
}
}
}

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.