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