Returns a (sliding) timeline of the recorded daily unique active accounts for either consensus or one of the paratimes.

get/{layer}/stats/active_accounts

Request

  • Base URL: https://nexus.oasis.io/v1
  • URL: https://nexus.oasis.io/v1/{layer}/stats/active_accounts
  • Auth: none declared

Path parameters

layer'emerald' | 'sapphire' | 'pontusxtest' | 'pontusxdev' | 'cipher' | 'consensus' required
Example:sapphire

The layer for which to return the active accounts timeline.

Query parameters

limitinteger

The maximum numbers of items to return.

offsetinteger

The number of items to skip before starting to collect the result set.

window_step_secondsinteger

The size of the step between returned statistic windows, in seconds. The backend supports a limited number of step sizes: 300 (5 minutes) and 86400 (1 day). Requests with other values may be rejected.

Response

A JSON object containing a list of unique active accounts values for each interval.

window_size_secondsinteger required

Example response

{
  "windows": [
    {
      "window_end": "2022-03-01T00:00:00Z",
      "active_accounts": 420
    }
  ]
}

Changes

No recorded changes to this operation across all 50 revisions of this API.