Public api calls

MarteX api calls available for explorer
getdifficulty
Returns the current difficulty.
/api/getdifficulty

getconnectioncount
Returns the number of connections the block explorer has to other nodes.
/api/getconnectioncount

getblockcount
Returns the current block index.
/api/getblockcount

getblockhash [index]
Returns the hash of the block at ; index 0 is the genesis block.
/api/getblockhash?index=1

getblock [index]
Returns information about the block with the given hash.
/api/getblock?hash=5dec9cf755bb565fa091df3f7b21896adc09ad22d11d931ad52690052ccfbe3b

getrawtransaction [txid] [decrypt]

getmoneysupply
Returns current money supply
/ext/getmoneysupply

getaddress (/ext/getaddress/hash)
Returns information for given address
/ext/getaddress/MEiwLZ9tmijFhkaDXjC8PfHC7ZVMqfuGjm

getbalance (/ext/getbalance/hash)
Returns current balance of given address
/ext/getbalance/MEiwLZ9tmijFhkaDXjC8PfHC7ZVMqfuGjm