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