Bitcoin Forum
July 13, 2024, 06:24:12 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Blockchain.info address api (JSON)  (Read 414 times)
Gerbert (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
December 05, 2013, 09: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.
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!