Public api calls

Lyra 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=0000012a4820f43d3cf21c77cfdc199b625472406fc9b3e774a9b156090bc82b

getrawtransaction [txid] [decrypt]

getmoneysupply
Returns current money supply
/ext/getmoneysupply

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

getbalance (/ext/getbalance/hash)
Returns current balance of given address
/ext/getbalance/LfkbQGjUCzDa4FeBCU5LzSLETHQo2bt5Sn
getbalance (/ext/getmasternodecount)
Returns current amount of masternodes
/ext/getmasternodecount