How can I calculate an address’s balance with “total recieved”?

1

I want to calculate balances of my customers with a process , total received(I get it via api provided by a Blockchain explorer)-total_sent(I store transactions my customers make) but as you know, total received amounts are different in block explorers, so I wonder if I can calculate balances correctly.

So please let me know proper solutions.

Ryu Nishida

Posted 2018-10-07T10:27:35.633

Reputation: 33

1total received amounts are different in block explorers They shouldn't be, total received is simply the sum of every utxo created for that address.Raghav Sood 2018-10-07T11:00:02.250

1Block explorers are well known to provide bad information.Anonymous 2018-10-07T11:17:29.637

Oh really? As I guess, total recieved is the history of input amounts thoughRyu Nishida 2018-10-07T11:30:44.270

No answers