The block explorer provides an API allowing users and/or applications to retrieve information from the network without the need for a local wallet.
The Touriva block explorer is designed to be compatible with the Iquidus Block explorer and API and should just work with any code written to work with that system.
Return data from tourd
getdifficulty
Returns the current difficulty.
getconnectioncount
Returns the number of connections the block explorer has to other nodes.
getblockcount
Returns the current block index.
getblockhash [index]
Returns the hash of the block at ; index 0 is the genesis block.
getblock [hash]
Returns information about the block with the given hash.
getrawtransaction [txid] [decrypt]
Returns raw transaction representation for given transaction id. decrypt can be set to 0(false) or 1(true).
getnetworkhashps
Returns the current network hashrate. (hash/s)
getpeerinfo
Returns the current network peers information.
Return data from local indexes
getmoneysupply
Returns current money supply
gettokensupply
Returns current money supply without number formatting
getdistribution
Returns wealth distribution stats
getaddress (/ext/getaddress/hash)
Returns information for given address
getbalance (/ext/getbalance/hash)
Returns current balance of given address
getlasttxs (/ext/getlasttxs/count/min)
Returns last [count] transactions greater than [min]
Note: returned values are in satoshis
Linking to the block explorer
transaction (/tx/txid)
https://explorer.touriva.info/tx/f188dd8f7162bdbbb5f435f58d665a6dfbd3d69ec1ea5daf11ca13cf4e220aa6block (/block/hash)
https://explorer.touriva.info/block/00000000488ad4bd373ab5bd4a64a0e8a8014b38705dccba626d590fd302aa4aaddress (/address/hash)
https://explorer.touriva.info/address/THHqtvoBraPj7pmTDRKQnpJ6iNTadku664