Get Root Subnet History
Endpoint
Section titled “Endpoint”GET /api/metagraph/root/history/v1Parameters
Section titled “Parameters”| Name | In | Type | Required | Description |
|---|---|---|---|---|
hotkey | query | string | Validator Hotkey | |
block_start | query | integer | block number for start of range | |
block_end | query | integer | block number for end of range | |
timestamp_start | query | integer | Unix timestamp | |
timestamp_end | query | integer | Unix timestamp | |
page | query | integer | The page number of the response. | |
limit | query | integer | The number of responses. max is 200, | |
order | query | string |
Responses
Section titled “Responses”200 — 200
Section titled “200 — 200”Media: application/json
{ "type": "object", "properties": { "pagination": { "type": "object", "properties": { "current_page": { "type": "integer", "example": 1, "default": 0 }, "per_page": { "type": "integer", "example": 64, "default": 0 }, "total_items": { "type": "integer", "example": 26741, "default": 0 }, "total_pages": { "type": "integer", "example": 418, "default": 0 }, "next_page": { "type": "integer", "example": 2, "default": 0 }, "prev_page": {} } }, "data": { "type": "array", "items": { "type": "object", "properties": { "hotkey": { "type": "object", "properties": { "ss58": { "type": "string", "example": "5F2CsUDVbRbVMXTh9fAzF9GacjVX7UapvRxidrxe7z8BYckQ" }, "hex": { "type": "string", "example": "0x82cca2238d379e49d84e9e1b8df35dd496d6a8b4ca4f511ac9e38fa04d42f86b" } } }, "coldkey": { "type": "object", "properties": { "ss58": { "type": "string", "example": "5CMEwRYLefRmtJg7zzRyJtcXrQqmspr9B1r1nKySDReA37Z1" }, "hex": { "type": "string", "example": "0x0c9c8ec969246de9771893dd7e89e5e70483e860c45359b3223cd01d598f0c7d" } } }, "uid": { "type": "integer", "example": 5, "default": 0 }, "block_number": { "type": "integer", "example": 4336135, "default": 0 }, "timestamp": { "type": "string", "example": "2024-11-24T14:11:24Z" }, "stake": { "type": "string", "example": "84170506936415" }, "consensus": { "type": "string", "example": "0.00738536659800106813" }, "senator": { "type": "boolean", "example": false, "default": true }, "rank": { "type": "string", "example": "0.00901808194094758526" }, "pruning_score": { "type": "string", "example": "0.02160677500572213321" }, "subnet_weights": { "type": "object", "properties": { "0": { "type": "string", "example": "0" }, "1": { "type": "string", "example": "3.0000" }, "2": { "type": "string", "example": "2.0000" }, "3": { "type": "string", "example": "0" }, "4": { "type": "string", "example": "4.0000" }, "5": { "type": "string", "example": "3.0000" }, "6": { "type": "string", "example": "2.0000" }, "7": { "type": "string", "example": "3.0000" }, "8": { "type": "string", "example": "3.0000" }, "9": { "type": "string", "example": "1.0000" }, "10": { "type": "string", "example": "3.0000" }, "11": { "type": "string", "example": "2.0000" }, "12":400 — 400
Section titled “400 — 400”Media: application/json
{ "type": "object", "properties": {}}Authentication
Section titled “Authentication”All Taostats API requests require an Authorization header containing your API key. See Getting Started.