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=1250
getblock [hash]
Returns information about the block with the given hash.
https://kingscoin.biz/api/getblock?hash=e1cf4e963c2d6068c4fcfbae820200c1a1b037623415302d286e11cdb20dea8a
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=b8fb98dceb4fe9709e5ed5fc0c29ba78b7f186d54204d4d76a804ea767ec0dbf&decrypt=0
https://kingscoin.biz/api/getrawtransaction?txid=b8fb98dceb4fe9709e5ed5fc0c29ba78b7f186d54204d4d76a804ea767ec0dbf&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/KS9D2zvtWAApHvqyrsCZCibgGmiCHD9eFM
getbalance (/ext/getbalance/hash)
Returns current balance of given address
https://kingscoin.biz/ext/getbalance/KS9D2zvtWAApHvqyrsCZCibgGmiCHD9eFM
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/b8fb98dceb4fe9709e5ed5fc0c29ba78b7f186d54204d4d76a804ea767ec0dbf
block (/block/hash)
https://kingscoin.biz/block/e1cf4e963c2d6068c4fcfbae820200c1a1b037623415302d286e11cdb20dea8a
address (/address/hash)
https://kingscoin.biz/address/KS9D2zvtWAApHvqyrsCZCibgGmiCHD9eFM
qrcode (/qr/hash)
https://kingscoin.biz/qr/KS9D2zvtWAApHvqyrsCZCibgGmiCHD9eFM