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

Unify stats across relevant pages #2515

Open
ulyanas opened this issue Jan 10, 2025 · 1 comment
Open

Unify stats across relevant pages #2515

ulyanas opened this issue Jan 10, 2025 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@ulyanas
Copy link

ulyanas commented Jan 10, 2025

The task is to unify the implementation of stats across all relevant pages

Homepage

Counters and graphs

  • Endpoint: /api/v1/pages/main
    Fetches counters and graphs data for the main page.

Transactions

Counters

  • Endpoint: /api/v1/pages/transactions
    Provides transaction counters, including pending and daily transaction statistics.

Verified contracts

Counters

  • Endpoint: /api/v1/pages/contracts
    Retrieves statistics for verified contracts, including new and total contracts.

Swagger

@ulyanas ulyanas changed the title Unify stats across Homepage and Stats pages Unify stats across relevant pages Jan 10, 2025
@bragov4ik
Copy link

Also built types as 2.4.0-alpha version of stats-types npm package

@ulyanas ulyanas added the enhancement New feature or request label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants