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