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