Post
Topic
Board Project Development
Re: Aggregated view of important Block Explorer data
by
smd75jr
on 12/07/2011, 14:29:17 UTC
How about date of last block too?

Not really sure how i would do this, the page uses data pulled directly from blockexplorer.com/q, it just organizes and displays it efficiently.
You could, get latest block hash then parse it's page like:
http://blockexplorer.com/rawblock/000000000000012e9924c4628a8cf8f2f2cad86192c4dcb7175e3f91eb0fc317
and get the time and then convert to UTC. Trickier but probably interesting to figure out!  Wink

The other problem I've discovered after looking at it for a bit, is that i cant think of a way to make it look at the latest block (and I'm not going to use SQL because I want it to be as fast  as possible).