2
I've been using Blocktrail's API:
https://www.blocktrail.com/api/docs/lang/nodejs#data_overview
to get data for the following unspent address on the testnet:
2N6qMqR9D4BTkD6fS1h6Sq3kRV2FeB1L14j.
Blocktrail's API returns the index as 4, whereas blockexplorer's:
https://testnet.blockexplorer.com/api/addr/2N6qMqR9D4BTkD6fS1h6Sq3kRV2FeB1L14j/utxo
and smartbit's APIs:
both return an index of 0. Am I missing something here?
Thanks for taking the time to look into this! It turns out that I was querying for address instead of transaction (js):
blocktrailClient.address((2N6qMqR9D4BTkD6fS1h6Sq3kRV2FeB1L14j), (err, address) => {console.log(address)})– timothyylim – 2017-10-13T10:34:34.703