v1

latestOpenAPI 3.1.02026-07-2411205.0 MB

Get Staking/Delegation Events

get/api/delegation/v1

Query parameters

delegatestring

hotkey of validator

nominatorstring

coldkey of staker/delegator

netuidinteger

Subnet

action'delegate' | 'undelegate' | 'all'

Delegation or undelegation (or both)?

is_transferboolean

Is this a transfer?

extrinsic_idstring

ID of extrinsic

amount_minstring

in rao

amount_maxstring

in rao

block_numberinteger

The exact block number

block_startinteger

block number for start of range

block_endinteger

block number for end of range

timestamp_startinteger

Start of timestamp range in Unix timestamp (seconds since 1970-01-01) (inclusive)

timestamp_endinteger

Start of timestamp range in Unix timestamp (seconds since 1970-01-01) (inclusive)

pageinteger

The page number of the response.

limitinteger

The number of responses. max is 200,

order'amount_asc' | 'amount_desc' | 'block_number_asc' | 'block_number_desc' | 'timestamp_asc' | 'timestamp_desc'

Response

200

Example response

{
  "pagination": {
    "current_page": 1,
    "per_page": 5,
    "total_items": 26986,
    "total_pages": 5398,
    "next_page": 2
  },
  "data": [
    {
      "nominator": {
        "ss58": "5C59JBL8eYacZPeDA5LYCjTd7BKNHE44hG8hsE9DmkFwefMR",
        "hex": "0x0055a35aba61dfc8dd56c131302e98230bfdc2191c67bd300e651adaf44b4e20"
      },
      "delegate": {
        "ss58": "5HEo565WAy4Dbq3Sv271SAi7syBSofyfhhwRNjFNSM2gP9M2",
        "hex": "0xe4df2c7397e1443378b4cec0f2fca9dac1d0923d020e7aab11dd41428014ab59"
      },
      "block_number": 4106750,
      "timestamp": "2024-10-23T14:55:36.004Z",
      "balance": "262028445567403",
      "delegate_from": 252183,
      "delegate_from_timestamp": "2023-04-24T19:25:36.001Z"
    }
  ]
}