Get Staking/Delegation Events
Endpoint
Section titled “Endpoint”GET /api/delegation/v1Parameters
Section titled “Parameters”| Name | In | Type | Required | Description |
|---|---|---|---|---|
delegate | query | string | hotkey of validator | |
nominator | query | string | coldkey of staker/delegator | |
netuid | query | integer | Subnet | |
action | query | string | Delegation or undelegation (or both)? | |
is_transfer | query | boolean | Is this a transfer? | |
extrinsic_id | query | string | ID of extrinsic | |
amount_min | query | string | in rao | |
amount_max | query | string | in rao | |
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": 26986, "default": 0 }, "total_pages": { "type": "integer", "example": 5398, "default": 0 }, "next_page": { "type": "integer", "example": 2, "default": 0 }, "prev_page": {} } }, "data": { "type": "array", "items": { "type": "object", "properties": { "nominator": { "type": "object", "properties": { "ss58": { "type": "string", "example": "5C59JBL8eYacZPeDA5LYCjTd7BKNHE44hG8hsE9DmkFwefMR" }, "hex": { "type": "string", "example": "0x0055a35aba61dfc8dd56c131302e98230bfdc2191c67bd300e651adaf44b4e20" } } }, "delegate": { "type": "object", "properties": { "ss58": { "type": "string", "example": "5HEo565WAy4Dbq3Sv271SAi7syBSofyfhhwRNjFNSM2gP9M2" }, "hex": { "type": "string", "example": "0xe4df2c7397e1443378b4cec0f2fca9dac1d0923d020e7aab11dd41428014ab59" } } }, "block_number": { "type": "integer", "example": 4106750, "default": 0 }, "timestamp": { "type": "string", "example": "2024-10-23T14:55:36.004Z" }, "balance": { "type": "string", "example": "262028445567403" }, "delegate_from": { "type": "integer", "example": 252183, "default": 0 }, "delegate_from_timestamp": { "type": "string", "example": "2023-04-24T19:25:36.001Z" } } } } }}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.