-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HIP-873: Decimals are not returned with the token balance in the new token relationship API #7386
Comments
Token decimal is immutable and can be retrieved from We can't change how the value is presented in the existing property since that'll be a breaking change and cause issues for applications treating it properly. |
If I, as an end-user, fetch my balance for 50 tokens. I now need to call the mirror node 51 total times to be able to correctly use that information (balance + decimals). It's not a breaking change to add a new |
It would not be performant to join on token for Instead, we could fix the bug that makes |
Description
A token balance without the associated number of decimals to know how to interpret that balance is dangerous to present to an end user.
Steps to reproduce
/api/v1/accounts/{id}/tokens
API.Additional context
No response
Hedera network
mainnet, testnet, previewnet
Version
v1
Operating system
None
The text was updated successfully, but these errors were encountered: