Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Choose between "stats" and "statistics" in v3 api #1855

Open
davidyuk opened this issue Jul 23, 2024 · 0 comments
Open

Choose between "stats" and "statistics" in v3 api #1855

davidyuk opened this issue Jul 23, 2024 · 0 comments
Assignees

Comments

@davidyuk
Copy link
Member

"stats" use cases:

/deltastats:
get:
deprecated: false
description: Get delta stats.
operationId: GetDeltastats

/totalstats:
get:
deprecated: false
description: Get total accumulated stats.
operationId: GetTotalstats

/minerstats:
get:
deprecated: false
description: Get miners list with total rewards obtained through mining.
operationId: GetMinerstats

"statistics" use cases:

Statistic:
type: object
description: Statistic
properties:
count:
description: The statistic count
type: integer
start_date:
description: The statistic start date
type: string
end_date:
description: The statistic end date (not taken into account)
type: string

/statistics/blocks:
get:
deprecated: false
description: Get total blocks count statistics.
operationId: GetBlocksStatistics
parameters:
- name: interval_by
description: The interval in which to return the statistics.

/statistics/transactions:
get:
deprecated: false
description: Get total transactions count statistics.
operationId: GetTransactionsStatistics
parameters:
- name: interval_by
description: The interval in which to return the statistics.

/statistics/names:
get:
deprecated: false
description: Get total names count statistics.
operationId: GetNamesStatistics
parameters:
- name: interval_by
description: The interval in which to return the statistics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants