Looking at the transaction:
http://tbtc.blockr.io/api/v1/tx/raw/ab6a33a6281bb9d9a98949e50ac875f1d550e02e030e28a8800f280e2192ac51{
"status":"success",
"data":{
"tx":{
"hex":"...",
"version":1,
"locktime":0,
"vin":[
{
"txid":"8589f593e1f9da61004a87e7dd6fc2c873cf9124edc90a91ee9f74528aadd236",
"vout":1,
"scriptSig":{"asm":"..."},
"sequence":4294967295
},{
"txid":"0ac8a4f8e7df98544e0bb4f39bf3916ca9b14dae17d3d5c5a02540002fc5376b",
"vout":0,
"scriptSig":{"asm":"..."},
"sequence":4294967295
},{
"txid":"0ac8a4f8e7df98544e0bb4f39bf3916ca9b14dae17d3d5c5a02540002fc5376b",
"vout":1,
"scriptSig":{"asm":"..."},
"sequence":4294967295
}
],
"vout":[
{
"value":0.51540385,
"n":0,
"scriptPubKey":{
"asm":"...",
"hex":"...",
"reqSigs":1,
"type":"scripthash",
"addresses":["2MyRyi1EzM3onzv99gNLWqscQBzmPdd9qKy"]
}
},{
"value":0.002,
"n":1,
"scriptPubKey":{
"asm":"...",
"hex":"...",
"reqSigs":1,
"type":"scripthash",
"addresses":["2Mxh7iZ4QtajmS5zKtvwUVrJt9sajW2aMpS"]
}
}
],
"blockhash":"...",
"confirmations":458,
"time":1452645488,
"blocktime":1452645488
}
},
"code":200,
"message":""
}
It looks like your transaction has 2 outputs:
- 0.51540385 sent to 2MyRyi1EzM3onzv99gNLWqscQBzmPdd9qKy
- 0.002 sent to 2Mxh7iZ4QtajmS5zKtvwUVrJt9sajW2aMpS
0.51540385 + 0.002 = total
outputs 0.51740385It looks like your transaction has 3 inputs:
- Output number 1 from transaction 8589f593e1f9da61004a87e7dd6fc2c873cf9124edc90a91ee9f74528aadd236
- Output number 0 from transaction 0ac8a4f8e7df98544e0bb4f39bf3916ca9b14dae17d3d5c5a02540002fc5376b
- Output number 1 from transaction 0ac8a4f8e7df98544e0bb4f39bf3916ca9b14dae17d3d5c5a02540002fc5376b
Lets look at those three transaction outputs:
http://tbtc.blockr.io/api/v1/tx/raw/8589f593e1f9da61004a87e7dd6fc2c873cf9124edc90a91ee9f74528aadd236- snip -
"vout":[
- snip -
{
"value":0.001,
"n":1,
- snip -
"addresses":["2N9yqoWM7epwB1QftTy7aFG7nvqJLv6cy5X"]
}
]
- snip -
That looks like a 0.001 input.
http://tbtc.blockr.io/api/v1/tx/raw/0ac8a4f8e7df98544e0bb4f39bf3916ca9b14dae17d3d5c5a02540002fc5376b- snip -
"vout":[
{
"value":0.001,
"n":0,
- snip -
"addresses":["2MxbJa5LG6FrHDzVjnYmSnFJ1Zn93wdAubf"]
},{
"value":0.51596901,
"n":1,
- snip -
"addresses":["2NB9X4bd8dGRnqqzxrhR973U9dZWwfteqvv"]
}
]
- snip -
That looks like 2 outputs, one for 0.001 BTC and one for 0.51596901
0.001 + 0.001 + 0.51596901 = total
inputs 0.51796901