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