Stohn Explorer API Calls
API Calls
Return data from stohncoind-
getdifficultyReturns the current difficulty.
stohnexplorer.com/api/getdifficulty -
getconnectioncountReturns the number of connections the block explorer has to other nodes.
stohnexplorer.com/api/getconnectioncount -
getblockcountReturns the current block index.
stohnexplorer.com/api/getblockcount -
getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.
stohnexplorer.com/api/getblockhash?index=64152 -
getblock [hash]Returns information about the block with the given hash.
stohnexplorer.com/api/getblock?hash=c66d8f470c27435d10f24ac978500e74ded76de23202ee1fd90ff92d8f2bdadb -
getrawtransaction [txid] [decrypt]Returns raw transaction representation for given transaction id. decrypt can be set to 0(false) or 1(true).
stohnexplorer.com/api/getrawtransaction?txid=deac54abc04f48c52d07ac1f857333ba3af2e754c67de5124d9f8466eb789856&decrypt=0 stohnexplorer.com/api/getrawtransaction?txid=deac54abc04f48c52d07ac1f857333ba3af2e754c67de5124d9f8466eb789856&decrypt=1 -
getnetworkhashpsReturns the current network hashrate. (hash/s)
stohnexplorer.com/api/getnetworkhashps
Extended API
Return data from local indexes-
getmoneysupplyReturns current money supply
stohnexplorer.com/ext/getmoneysupply -
getaddress (/ext/getaddress/hash)Returns information for given address
stohnexplorer.com/ext/getaddress/SmvJnQTUe8k4vD65nphLC6ShqqxPNGMQHT -
getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]
stohnexplorer.com/ext/getaddresstxs/SmvJnQTUe8k4vD65nphLC6ShqqxPNGMQHT/0/50 -
gettx (/ext/gettx/hash)Returns information for given tx hash
stohnexplorer.com/ext/gettx/deac54abc04f48c52d07ac1f857333ba3af2e754c67de5124d9f8466eb789856 -
getbalance (/ext/getbalance/hash)Returns current balance of given address
stohnexplorer.com/ext/getbalance/SmvJnQTUe8k4vD65nphLC6ShqqxPNGMQHT -
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
stohnexplorer.com/ext/getlasttxs/100/0/100 -
getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hours
stohnexplorer.com/ext/getnetworkpeers -
getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, USD price, BTC price
stohnexplorer.com/ext/getbasicstats -
getsummaryReturns a summary of coin data including: difficulty, hybrid difficulty, circulating supply, hash rate, BTC price, USD price, network connection count, block count
stohnexplorer.com/ext/getsummary
STOHN DEVELOPERS