Skip to content

[feature]: count unconfirmed mints at SQL level in ListAssets call #1752

@guggero

Description

@guggero

We should address the following TODO:

// TODO(guggero): Do this on the SQL level once we add pagination to the

Especially when (or before) implementing #1707.

We count the number of unconfirmed asset mints (and also do the filtering of unconfirmed mints based on the include_unconfirmed_mints request parameter) in the Golang code instead of doing it in SQL.
Which means the numbers won't be correct anymore once we implement pagination, as the unconfirmed_mints response field would only contain the number of unconfirmed mints of the current page, not the global number.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions