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