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