The block explorer provides an API allowing users and/or applications to retrieve information from the network without the need for a local wallet.
Return data from coind
getdifficulty
Returns the current difficulty.
http://42.blockexp.info/api/getdifficulty
getconnectioncount
Returns the number of connections the block explorer has to other nodes.
http://42.blockexp.info/api/getconnectioncount
getblockcount
Returns the current block index.
http://42.blockexp.info/api/getblockcount
getblockhash [index]
Returns the hash of the block at ; index 0 is the genesis block.
http://42.blockexp.info/api/getblockhash?index=424242
getblock [hash]
Returns information about the block with the given hash.
http://42.blockexp.info/api/getblock?hash=309fae496bd506af16194f9d22c9ca470e87587efd7dd48055600b749ae60ff3
getrawtransaction [txid] [decrypt]
Returns raw transaction representation for given transaction id. decrypt can be set to 0(false) or 1(true).
http://42.blockexp.info/api/getrawtransaction?txid=4fe0c8d5ae881d78951344ef55c649ac6bc00fef76ab039b449d04390634d545&decrypt=0
http://42.blockexp.info/api/getrawtransaction?txid=4fe0c8d5ae881d78951344ef55c649ac6bc00fef76ab039b449d04390634d545&decrypt=1
Return data from local indexes
getmoneysupply
Returns current money supply
http://42.blockexp.info/ext/getmoneysupply
getdistribution
Returns wealth distribution stats
http://42.blockexp.info/ext/getdistribution
getaddress (/ext/getaddress/hash)
Returns information for given address
http://42.blockexp.info/ext/getaddress/4crZzBqmS38y5r9o29qJuB5V8DUqyCDWvy
getbalance (/ext/getbalance/hash)
Returns current balance of given address
http://42.blockexp.info/ext/getbalance/4crZzBqmS38y5r9o29qJuB5V8DUqyCDWvy
getlasttxs (/ext/getlasttxs/count/min)
Returns last [count] transactions greater than [min]
Note: returned values are in satoshis
http://42.blockexp.info/ext/getlasttxs/10/100
Linking to the block explorer
transaction (/tx/txid)
http://42.blockexp.info/tx/4fe0c8d5ae881d78951344ef55c649ac6bc00fef76ab039b449d04390634d545
block (/block/hash)
http://42.blockexp.info/block/309fae496bd506af16194f9d22c9ca470e87587efd7dd48055600b749ae60ff3
address (/address/hash)
http://42.blockexp.info/address/4crZzBqmS38y5r9o29qJuB5V8DUqyCDWvy
qrcode (/qr/hash)
http://42.blockexp.info/qr/4crZzBqmS38y5r9o29qJuB5V8DUqyCDWvy