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
came in internally:
background, i have backed that return token name, value, and decimal
Want to transform value to a value represented with decimal point
So issue is when i want to use fromWei it requires unit but unit is string (as a key from ethUnitMap) but i have digit representative (18 will be ether)
What is the best approach to usage for fromWei when i only have decimal point?
Expected behavior
Actual behavior
Steps to reproduce the behavior
[First step]
[Second step]
[and so on...]
Logs
Environment
The text was updated successfully, but these errors were encountered:
came in internally:
background, i have backed that return token name, value, and decimal
Want to transform value to a value represented with decimal point
So issue is when i want to use fromWei it requires unit but unit is string (as a key from ethUnitMap) but i have digit representative (18 will be ether)
What is the best approach to usage for fromWei when i only have decimal point?
Expected behavior
Actual behavior
Steps to reproduce the behavior
Logs
Environment
The text was updated successfully, but these errors were encountered: