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