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://cx.blockexp.info/api/getdifficulty
getconnectioncount
Returns the number of connections the block explorer has to other nodes.
http://cx.blockexp.info/api/getconnectioncount
getblockcount
Returns the current block index.
http://cx.blockexp.info/api/getblockcount
getblockhash [index]
Returns the hash of the block at ; index 0 is the genesis block.
http://cx.blockexp.info/api/getblockhash?index=367411
getblock [hash]
Returns information about the block with the given hash.
http://cx.blockexp.info/api/getblock?hash=0ddb59fb3393b174682505848f1a22b1010865aa805b05fee61d2f346f17a2f3
getrawtransaction [txid] [decrypt]
Returns raw transaction representation for given transaction id. decrypt can be set to 0(false) or 1(true).
http://cx.blockexp.info/api/getrawtransaction?txid=c3be36c348c9191e8aae3a1563eb343433691510b0fc05595359af2438098e6c&decrypt=0
http://cx.blockexp.info/api/getrawtransaction?txid=c3be36c348c9191e8aae3a1563eb343433691510b0fc05595359af2438098e6c&decrypt=1
Return data from local indexes
getmoneysupply
Returns current money supply
http://cx.blockexp.info/ext/getmoneysupply
getdistribution
Returns wealth distribution stats
http://cx.blockexp.info/ext/getdistribution
getaddress (/ext/getaddress/hash)
Returns information for given address
http://cx.blockexp.info/ext/getaddress/ XRiHS2ieTwHVhykRAN6iDnhtVAHV6UKLZT
getbalance (/ext/getbalance/hash)
Returns current balance of given address
http://cx.blockexp.info/ext/getbalance/ XRiHS2ieTwHVhykRAN6iDnhtVAHV6UKLZT
getlasttxs (/ext/getlasttxs/count/min)
Returns last [count] transactions greater than [min]
Note: returned values are in satoshis
http://cx.blockexp.info/ext/getlasttxs/10/100
Linking to the block explorer
transaction (/tx/txid)
http://cx.blockexp.info/tx/c3be36c348c9191e8aae3a1563eb343433691510b0fc05595359af2438098e6c
block (/block/hash)
http://cx.blockexp.info/block/0ddb59fb3393b174682505848f1a22b1010865aa805b05fee61d2f346f17a2f3
address (/address/hash)
http://cx.blockexp.info/address/ XRiHS2ieTwHVhykRAN6iDnhtVAHV6UKLZT
qrcode (/qr/hash)
http://cx.blockexp.info/qr/ XRiHS2ieTwHVhykRAN6iDnhtVAHV6UKLZT