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