Public api calls

Castle 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=0000099438ebd0a3493a3a04be960c606ba9eac60578055c3639fbca740d9569

getrawtransaction [txid] [decrypt]

getmoneysupply
Returns current money supply
/ext/getmoneysupply

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

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