Public api calls

Otocash 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

getblockhash [index]
Returns the hash of the block at ; Minimal block is 559529.
/api/getblockhash?index=559529

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

getrawtransaction [txid]
Returns raw transaction representation for given transaction id. Only asset transaction supports.
/api/getrawtransaction?txid=3cf466e54a0e10ec9ca8b2ee92a7ba52fc752005a30ef17e0a9a8195eedfb787

getmoneysupply
Returns current money supply
/ext/getmoneysupply

getaddress (/ext/getaddress/hash)
Returns information for given address
/ext/getaddress/131dNpFcE3DQib4jSyFEJL2xaEMGUo1eUE

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