Stohn Coin Public API
A listing of public API endpoints for retrieving Stohn Coin coin data from the network without the need for a local wallet
API Documentation
API Calls
Return data from coind
- 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).
- getnetworkhashpsReturns the current network hashrate. (hash/s)stohnexplorer.com/api/getnetworkhashps
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supplystohnexplorer.com/ext/getmoneysupply
- getaddress (/ext/getaddress/hash)Returns information for given addressstohnexplorer.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 hashstohnexplorer.com/ext/gettx/deac54abc04f48c52d07ac1f857333ba3af2e754c67de5124d9f8466eb789856
- getbalance (/ext/getbalance/hash)Returns current balance of given addressstohnexplorer.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
- getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hoursstohnexplorer.com/ext/getnetworkpeers
- getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, USD price, BTC pricestohnexplorer.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 countstohnexplorer.com/ext/getsummary
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)stohnexplorer.com/tx/deac54abc04f48c52d07ac1f857333ba3af2e754c67de5124d9f8466eb789856
- block (/block/hash)stohnexplorer.com/block/c66d8f470c27435d10f24ac978500e74ded76de23202ee1fd90ff92d8f2bdadb
- address (/address/hash)stohnexplorer.com/address/SmvJnQTUe8k4vD65nphLC6ShqqxPNGMQHT
- qrcode (/qr/hash)stohnexplorer.com/qr/SmvJnQTUe8k4vD65nphLC6ShqqxPNGMQHT