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