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