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