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