Hootchain Public API
A listing of public API endpoints for retrieving Hootchain coin data from the network without the need for a local wallet
API Documentation
API Calls
Return data from coind
- getdifficultyReturns the current difficulty.explorer.hootchain.org/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.explorer.hootchain.org/api/getconnectioncount
- getblockcountReturns the current block index.explorer.hootchain.org/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.explorer.hootchain.org/api/getblockhash?index=1
- getblock [hash]Returns information about the block with the given hash.explorer.hootchain.org/api/getblock?hash=674e0f2e5dda39f8160d55e867f1ada1c7f5d862e17934bfb767f74b5ea785f0
- getrawtransaction [txid] [decrypt]Returns raw transaction representation for given transaction id. decrypt can be set to 0(false) or 1(true).
- getnetworkhashpsReturns the current network hashrate. (hash/s)explorer.hootchain.org/api/getnetworkhashps
- getvotelistReturns the current vote list.explorer.hootchain.org/api/getvotelist
- getmasternodecountReturns the total number of masternodes on the network.explorer.hootchain.org/api/getmasternodecount
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supplyexplorer.hootchain.org/ext/getmoneysupply
- getdistributionReturns wealth distribution statsexplorer.hootchain.org/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given addressexplorer.hootchain.org/ext/getaddress/hJ13LArFLvTu3Xf8f7yzLZM1bYpUCnyHFr
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]explorer.hootchain.org/ext/getaddresstxs/hJ13LArFLvTu3Xf8f7yzLZM1bYpUCnyHFr/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hashexplorer.hootchain.org/ext/gettx/40c41c6fb90e828289342560ce6b3df32eab2b9e16ed000da20fe5ee0334838e
- getbalance (/ext/getbalance/hash)Returns current balance of given addressexplorer.hootchain.org/ext/getbalance/hJ13LArFLvTu3Xf8f7yzLZM1bYpUCnyHFr
- getlasttxs (/ext/getlasttxs/min/start/length)Returns last [length] transactions greater than [min] coins, starting from offset [start]Note: [length] is limited to returning 100 records per query
- getcurrentpriceReturns last known exchange priceexplorer.hootchain.org/ext/getcurrentprice
- getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hoursexplorer.hootchain.org/ext/getnetworkpeers
- getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, USD price, USD price, # of masternodesexplorer.hootchain.org/ext/getbasicstats
- getsummaryReturns a summary of coin data including: difficulty, hybrid difficulty, circulating supply, hash rate, USD price, USD price, network connection count, block count, count of online masternodes, count of offline masternodesexplorer.hootchain.org/ext/getsummary
- getmasternodelistReturns the complete list of masternodes on the network.explorer.hootchain.org/ext/getmasternodelist
- getmasternoderewards (/ext/getmasternoderewards/hash/since)Returns a list of masternode reward transactions for address [hash] that arrived after block height [since]explorer.hootchain.org/ext/getmasternoderewards/hJ13LArFLvTu3Xf8f7yzLZM1bYpUCnyHFr/1
- getmasternoderewardstotal (/ext/getmasternoderewardstotal/hash/since)Returns the total number of coins earned in masternode rewards for address [hash] that arrived after block height [since]explorer.hootchain.org/ext/getmasternoderewardstotal/hJ13LArFLvTu3Xf8f7yzLZM1bYpUCnyHFr/1
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)explorer.hootchain.org/tx/40c41c6fb90e828289342560ce6b3df32eab2b9e16ed000da20fe5ee0334838e
- block (/block/hash)explorer.hootchain.org/block/674e0f2e5dda39f8160d55e867f1ada1c7f5d862e17934bfb767f74b5ea785f0
- address (/address/hash)explorer.hootchain.org/address/hJ13LArFLvTu3Xf8f7yzLZM1bYpUCnyHFr
- qrcode (/qr/hash)explorer.hootchain.org/qr/hJ13LArFLvTu3Xf8f7yzLZM1bYpUCnyHFr