Skip to content

Custom tokens show 0 balance after import #225

@zixxtech

Description

@zixxtech

Your issue will be reviewed by a maintainer and labeled for further action.
To complete your request, follow the bot-actions to report this on the support E-mail box and follow the outlined steps. Alternatively, you can report this issue on the official web page to an agent for assistance
@milos-ethernal


             Issue Description 

Bug description

In MetaMask wallet after the token is added the balance is shown as 0 even tho the ''Add token" pop-up shows correct amount.

After some debuging I noticed that problematic tokens have "aggregators": ["Dynamic"] set and they always get zero balance in AccoutntsApiBalanceFetcher.fetch because API didn't return any value for them.

I opened #7879 which fixes it by calling RPC callback but noticed that this may not be the best solution and that potentially the fetch should handle this differently so I open this issue to spark a discussion on this bug.

Steps to reproduce

Add any token to wallet which has "aggregators": ["Dynamic"] to wallet

Screenshots of this problem

Screenshot from 2026-02-06 13-13-22 Screenshot from 2026-02-06 13-17-34 Screenshot from 2026-02-06 13-17-42 Screenshot from 2026-02-06 13-17-51

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions