2

Let's the following address. Now the current total received balance is: 5,697.09329301 BTC:

enter image description here

But API response is 569709329301:

enter image description here

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

Is it bug?

  • 2
    Aren't the two quantities equal but expressed in different units? 1 satoshi = 10^(-8) BTC – Sven Williamson Oct 30 '16 at 20:52
  • @Sven That should be an answer. – Pieter Wuille Oct 30 '16 at 20:54
  • @Pieter Thought it wasn't insightful enough. Thank you – Sven Williamson Oct 30 '16 at 21:25
  • @Erik You have almost 4M USD?! – 4 Leave Cover Oct 31 '16 at 1:39
  • @ 4 Leave Cover not actually :))). Could you point me where the documentation describes that all values in satoshi? – Erik Oct 31 '16 at 7:12
3

The two quantities are equal but expressed in different units. 1 Satoshi = 10^(-8) BTC.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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