Bitcoin Forum
May 24, 2024, 02:30:06 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Transaction amount with BlockChain JSON API  (Read 577 times)
phoenix84 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
March 17, 2013, 03:20:39 PM
 #1

hi!

What is an algorythm for BlockChain JSON API reading amount?

I see it is given as a result for the very next transaction... but if I want to read the amount of last transaction? or there is only 1?

Cause I do not see any relation between inputs/outputs and amounts... they are connected, but sometimes they have nothing to each other...

so an example:

I have sent 0.1 BTC

what sais blockchain www:

https://blockchain.info/address/1SfEHjvpgtXiS3Kcagn1EAsKvuMg1Y3XS

there is -0.1 BTC, so it fine

but what sais transaction info:

https://blockchain.info/tx/e1b7e94ab6259f02f7270d4b2087f437afd0c21bfd99e2fd9ea7d805235aa750

Estimated BTC Transacted   1 BTC

so 0.1 or 1 BTC???

next...

I look at json: https://blockchain.info/address/1SfEHjvpgtXiS3Kcagn1EAsKvuMg1Y3XS?format=json

and there is NOWHERE 0.1 nor -0.1... so how to count it?

is here somebody who may explain that to me? I try to do an api for accounting transactions... but I have no clue how to get a correct amount and fee...

thx

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!