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