Skip to content

Missing change_7d / total7dPrev endpoints for Pro Dashboard #2049

@0xn0va

Description

@0xn0va

While working on PR #2048 to improve the Pro Dashboard views for DEXs and Aggregators, I noticed that the internal endpoints /api/datasets/dexs and /api/datasets/aggregators don't include the field change_7d or any data like total7dPrev to calculate it.

Interestingly, the public endpoint GET /overview/dexs does return total7d and change_7d, but the internal ones used in the frontend only include total7d.

This matters because the column change_7d exists in the frontend, but is hidden. If want to display it, the values show -.

Since the team prefers to keep endpoints minimal, I wanted to ask if it would be acceptable to include just one extra field: total7dPrev, so we can calculate change_7d on the frontend.

Do you think it’s worth exposing this value in the API?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions