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