SHROOMS Public API
A listing of public API endpoints for retrieving SHROOMS coin data from the network without the need for a local wallet
API Documentation
API Calls
Return data from coind
- getdifficultyReturns the current difficulty.https://explorer.shrooms.pw/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.https://explorer.shrooms.pw/api/getconnectioncount
- getblockcountReturns the current block index.https://explorer.shrooms.pw/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.https://explorer.shrooms.pw/api/getblockhash?index=122666
- getblock [hash]Returns information about the block with the given hash.https://explorer.shrooms.pw/api/getblock?hash=55dee39af9cc821b9b61b2612aac1c064f47776484cdd07e4464f23e3e6c281e
- getrawtransaction [txid] [decrypt]Returns raw transaction representation for given transaction id. decrypt can be set to 0(false) or 1(true).
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supplyhttps://explorer.shrooms.pw/ext/getmoneysupply
- getaddress (/ext/getaddress/hash)Returns information for given addresshttps://explorer.shrooms.pw/ext/getaddress/SUomxpJPWV198jtx5PA5m43FfXBafDpwfi
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]https://explorer.shrooms.pw/ext/getaddresstxs/SUomxpJPWV198jtx5PA5m43FfXBafDpwfi/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hashhttps://explorer.shrooms.pw/ext/gettx/f5cbb30bcf11843a3ed7bc18f3a9a83f9e45563f70a36235936a7165d02f9b03
- getbalance (/ext/getbalance/hash)Returns current balance of given addresshttps://explorer.shrooms.pw/ext/getbalance/SUomxpJPWV198jtx5PA5m43FfXBafDpwfi
- 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
- getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, USD price, BTC pricehttps://explorer.shrooms.pw/ext/getbasicstats
- getsummaryReturns a summary of coin data including: difficulty, hybrid difficulty, circulating supply, hash rate, BTC price, USD price, network connection count, block counthttps://explorer.shrooms.pw/ext/getsummary
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)https://explorer.shrooms.pw/tx/f5cbb30bcf11843a3ed7bc18f3a9a83f9e45563f70a36235936a7165d02f9b03
- block (/block/hash)https://explorer.shrooms.pw/block/55dee39af9cc821b9b61b2612aac1c064f47776484cdd07e4464f23e3e6c281e
- address (/address/hash)https://explorer.shrooms.pw/address/SUomxpJPWV198jtx5PA5m43FfXBafDpwfi
- qrcode (/qr/hash)https://explorer.shrooms.pw/qr/SUomxpJPWV198jtx5PA5m43FfXBafDpwfi