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.divi.domains/api/getdifficulty
getconnectioncount
Returns the number of connections the block explorer has to other nodes.
https://blocks.divi.domains/api/getconnectioncount
getblockcount
Returns the current block index.
https://blocks.divi.domains/api/getblockcount
getblockhash [index]
Returns the hash of the block at ; index 0 is the genesis block.
https://blocks.divi.domains/api/getblockhash?index=994715
getblock [hash]
Returns information about the block with the given hash.
https://blocks.divi.domains/api/getblock?hash=2d12c0bf0cc04734d5ac761072eff5c13a93567b5dd2d65ebc9df30ab33c6433
getrawtransaction [txid] [decrypt]
Returns raw transaction representation for given transaction id. decrypt can be set to 0(false) or 1(true).
https://blocks.divi.domains/api/getrawtransaction?txid=419063ed975845b5e7b9f902a3935ac3e9b86d75926090f92f29579c7b71d3fb&decrypt=0
https://blocks.divi.domains/api/getrawtransaction?txid=419063ed975845b5e7b9f902a3935ac3e9b86d75926090f92f29579c7b71d3fb&decrypt=1
getnetworkhashps
Returns the current network hashrate. (hash/s)
https://blocks.divi.domains/api/getnetworkhashps
Return data from local indexes
getmoneysupply
Returns current money supply
https://blocks.divi.domains/ext/getmoneysupply
getdistribution
Returns wealth distribution stats
https://blocks.divi.domains/ext/getdistribution
getaddress (/ext/getaddress/hash)
Returns information for given address
https://blocks.divi.domains/ext/getaddress/DTBewumYmKa9byUDbGQgP6amSnv74HtW1E
gettx (/ext/gettx/hash)
Returns information for given tx hash
https://blocks.divi.domains/ext/gettx/419063ed975845b5e7b9f902a3935ac3e9b86d75926090f92f29579c7b71d3fb
getbalance (/ext/getbalance/hash)
Returns current balance of given address
https://blocks.divi.domains/ext/getbalance/DTBewumYmKa9byUDbGQgP6amSnv74HtW1E
getlasttxsajax (/ext/getlasttxsajax/min)
Returns last transactions greater than [min]
Note: returned values are in satoshis
https://blocks.divi.domains/ext/getlasttxsajax/100
getlasttxsajax (/ext/getaddresstxsajax/hash)
Returns transactions for hash
length = number of records to return
start = place in list to start
Note: returned values are in satoshis
https://blocks.divi.domains/ext/getaddresstxsajax/DTBewumYmKa9byUDbGQgP6amSnv74HtW1E
Linking to the block explorer
transaction (/tx/txid)
https://blocks.divi.domains/tx/419063ed975845b5e7b9f902a3935ac3e9b86d75926090f92f29579c7b71d3fb
block (/block/hash)
https://blocks.divi.domains/block/2d12c0bf0cc04734d5ac761072eff5c13a93567b5dd2d65ebc9df30ab33c6433
address (/address/hash)
https://blocks.divi.domains/address/DTBewumYmKa9byUDbGQgP6amSnv74HtW1E
qrcode (/qr/hash)
https://blocks.divi.domains/qr/DTBewumYmKa9byUDbGQgP6amSnv74HtW1E