You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary
When a user receives a token balance in a GetAccountBalance, GetAccountInfo, or GetContractInfo query response, they should also get the decimals field of the corresponding token.
This lets them interpret the balance in terms of whole tokens; e.g. 123.456 when decimals=3 instead of just 123456.
Possible resolution
Add decimals information in each query response that includes token balances.
The text was updated successfully, but these errors were encountered:
Summary
When a user receives a token balance in a
GetAccountBalance
,GetAccountInfo
, orGetContractInfo
query response, they should also get thedecimals
field of the corresponding token.This lets them interpret the
balance
in terms of whole tokens; e.g.123.456
whendecimals=3
instead of just123456
.Possible resolution
Add
decimals
information in each query response that includes token balances.The text was updated successfully, but these errors were encountered: