Skip to content

[bug]: QueryAssetStats not reporting the correct values #1528

Open
@ZZiigguurraatt

Description

@ZZiigguurraatt

When I run QueryAssetStats and set asset_id_filter to the asset id of the first tranche, it gives a group_supply equal to the amount of assets minted in the first tranche and does not consider the amounts in any additional tranches.

asset.total_supply comes out to 0. I think this value needs some clearer documentation or a better name too. I think it is intended to be the amount of assets minted of that specific asset in that asset_id, but it is not clear. total_supply implies that we could have more than one tranche of an asset_id, but we can't. I'm wondering if amount might be a better name?

Also, if I try to set asset_id_filter to the asset_id of the second or third tranche, I get no result turned (asset_stats appears to be of 0 length).

Metadata

Metadata

Assignees

No one assigned

    Labels

    APIsP2bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions