Author

Topic: Blockchain.info address api (JSON) (Read 414 times)

newbie
Activity: 2
Merit: 0
December 05, 2013, 05:59:42 PM
#1
Not certain if blockchain.info posts belong on this forum, but they don't seem to have one of their own, so here goes.

I have been trying to understand the blockchain.info json queries.

But the more I play around with it, the more it confuses me.

I do two queries as follows (with $bitcoin_address obviously replaced with a valid address)

http://blockchain.info/address/$bitcoin_address?format=json&limit=50&offset=0
http://blockchain.info/address/$bitcoin_address?format=json&limit=50&offset=45


What I expected was to receive 2 blocks of 50 transactions in json format.   (This indeed happened)
But what I also expected was that the last 5 transactions of the first query would overlap with the first 5 of the next query.
Is this correct? Because it does not seem to be the case.

I also tried it without the JSON bit, just looking at the normal bitcoin.info pages. Still not getting the expected overlap.


So can someone explain to me
(1)  am I missing something obvious?
(2)  am I misunderstanding the query?
(3)  what sequence are used for the transactions? My assumption was that they are sorted according to the timestamp.


Thanks for any replies.
Jump to: