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