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