Post
Topic
Board Web Wallets
Re: Blockchain.info - Bitcoin Block explorer & Currency Statistics
by
piuk
on 30/11/2011, 13:38:51 UTC
I thought it was the height, but that wouldn't work. What exactly is the block index?

Because I allow store orphaned blocks the block height cannot be used as a blocks primary key, instead I use a key called block index. If you can lookup by block index then please do as I cache by block index so lookups are faster, otherwise use
Quote
/block-height/$block_height?format=json
.

Added two new api calls:

Quote
/rawaddr - to get information about an address

/unspent - get the unspent outputs of one or multiple addresses.

Also regarding usage of this api, if you are displaying data on a public website then please a link back to blockchain.info. + I have a 200GB bandwidth limit so please go easy (or donate).