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