Skip to content

[explorer] Mosaic Amount Display Ignores Divisibility #1501

@cryptoBeliever

Description

@cryptoBeliever

Current Behavior

The Explorer displays inconsistent mosaic amounts across different views, without properly accounting for the mosaic's divisibility.
For example, mosaic uuu111.mosaic has a divisibility of 6. This means that transferring 1,000,000 units should be displayed as 1.000000 uuu111.mosaic.

Transaction view: https://testnet.nem.fyi/transactions/6e1c001713aedc0b0a97838e2ff2d62a3bd73611ee07e43a59ed5132f3a8f3b4

Image

In the transaction body, the mosaic amount is shown as 10,000,000,000, but it should be displayed as 10,000.000000 or simply 10,000, respecting the divisibility of 6.

Account view:

Image

In the account state section, the mosaic amount is correctly displayed. However, in the transaction list within the same view, divisibility is not applied.

Expected Behavior

All Explorer views that present mosaic amounts should consistently apply the mosaic's divisibility when displaying values. This ensures accuracy and improves user understanding.

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