Why does blockchain.info API response with wrong balance value?

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?

Erik

Posted 2016-10-30T19:15:53.363

Reputation: 123

2Aren't the two quantities equal but expressed in different units? 1 satoshi = 10^(-8) BTCSven Williamson 2016-10-30T20:52:15.023

@Sven That should be an answer.Pieter Wuille 2016-10-30T20:54:43.840

@Pieter Thought it wasn't insightful enough. Thank youSven Williamson 2016-10-30T21:25:01.537

@Erik You have almost 4M USD?!4 Leave Cover 2016-10-31T01:39:40.133

@ 4 Leave Cover not actually :))). Could you point me where the documentation describes that all values in satoshi?Erik 2016-10-31T07:12:53.023

Answers

3

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

Sven Williamson

Posted 2016-10-30T19:15:53.363

Reputation: 1 314