v1

latestOpenAPI 3.1.02026-07-2411205.0 MB

Get Subnet History

get/api/subnet/history/v1

Query parameters

netuidinteger required

Subnet

frequency'by_block' | 'by_day' | 'by_hour'

Frequency of response

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'block_number_asc' | 'block_number_desc' | 'timestamp_asc' | 'timestamp_desc'

Response

200

Example response

{
  "pagination": {
    "current_page": 1,
    "per_page": 50,
    "total_items": 380,
    "total_pages": 8,
    "next_page": 2
  },
  "data": [
    {
      "block_number": 4107456,
      "timestamp": "2024-10-23T17:16:48.001Z",
      "netuid": 6,
      "owner": {
        "ss58": "5CfSg4e23Z3aTXvc2XZie8ZE1xkqRPoyVRFdWUuyyjGxJrMA",
        "hex": "0x1a7e7aa832525950e4754db957d8422522015b9624d9c7d1be8e8cba752f7810"
      },
      "registration_block_number": 3219949,
      "registration_timestamp": "2024-06-20T13:03:12.010Z",
      "registration_cost": "2991859113540",
      "neuron_registration_cost": "710500907",
      "max_neurons": 256,
      "active_keys": 21,
      "validators": 64,
      "active_validators": 20,
      "active_miners": 234,
      "active_dual": 1,
      "emission": "18926963",
      "kappa": 32767,
      "immunity_period": 15000,
      "min_allowed_weights": 1,
      "max_weights_limit": 65535,
      "tempo": 360,
      "min_difficulty": "18446744073709551615",
      "max_difficulty": "18446744073709551615",
      "weights_version": "1010",
      "weights_rate_limit": "700",
      "adjustment_interval": 360,
      "activity_cutoff": 26000,
      "registration_allowed": true,
      "target_regs_per_interval": 1,
      "min_burn": "700000000",
      "max_burn": "0",
      "bonds_moving_avg": "0",
      "serving_rate_limit": "0",
      "max_validators": 64,
      "adjustment_alpha": "17893341751498265066",
      "difficulty": "18446744073709551615",
      "last_adjustment_block": 4107425,
      "blocks_since_last_step": 6,
      "blocks_until_next_epoch": 354,
      "blocks_until_next_adjustment": 329,
      "recycled_lifetime": "1593663967876",
      "recycled_24_hours": "5600000000",
      "recycled_since_registration": "1422513085329"
    }
  ]
}