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