4

Let's take the following company. The current ETH Balance is 268,691.327038426 Ether:

enter image description here

But API response 268698327038426745609145:

enter image description here

As you can see API response does't contain floating point so the balance value is very big.

Is it bug?

1 Answer 1

3

it isn't a bug the balance is returned in weis not in The Ethers.

chek one of many conversion tools: https://etherconverter.online/

268705.32703842675 Ether = 268705327038426745609145 wei

the "," is used to separate three digits (look at the amount in $).

5

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.