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