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