Get Validator Weights History v1
Endpoint
Section titled “Endpoint”GET /api/validator/weights/history/v1Parameters
Section titled “Parameters”| Name | In | Type | Required | Description |
|---|---|---|---|---|
hotkey | query | string | Validator hotkey | |
netuid | query | integer | subnet | |
uid | query | integer | uid of miner | |
block_number | query | integer | The exact block number | |
block_start | query | integer | block number for start of range | |
block_end | query | integer | block number for end of range | |
timestamp_start | query | integer | Start of timestamp range in Unix timestamp (seconds since 1970-01-01) (inclusive) | |
timestamp_end | query | integer | Start of timestamp range in Unix timestamp (seconds since 1970-01-01) (inclusive) | |
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": 5, "default": 0 }, "total_items": { "type": "integer", "example": 573, "default": 0 }, "total_pages": { "type": "integer", "example": 115, "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": "5GmvyePN9aYErXBBhBnxZKGoGk4LKZApE4NkaSzW62CYCYNA" }, "hex": { "type": "string", "example": "0xd0622986d748433d484b9b351b9a38737ee869ef2a50b75e5f890bee2c3afb18" } } }, "netuid": { "type": "integer", "example": 27, "default": 0 }, "uid": { "type": "integer", "example": 21, "default": 0 }, "block_number": { "type": "integer", "example": 4107514, "default": 0 }, "timestamp": { "type": "string", "example": "2024-10-23T17:28:24Z" }, "version_key": { "type": "string", "example": "152" }, "call": { "type": "string", "example": "set_weights" }, "weights_hash": {}, "weights": { "type": "array", "items": { "type": "object", "properties": { "uid": { "type": "integer", "example": 0, "default": 0 }, "weight": { "type": "string", "example": "0.93432516975661860075" } } } } } } } }}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.