SquishyCoin Public API
A listing of public API endpoints for retrieving SquishyCoin coin data from the network without the need for a local wallet
API Documentation
API Calls
Return data from coind
- getdifficultyReturns the current difficulty.461824.ifonwh.asia/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.461824.ifonwh.asia/api/getconnectioncount
- getblockcountReturns the current block index.461824.ifonwh.asia/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.461824.ifonwh.asia/api/getblockhash?index=3800
- getblock [hash]Returns information about the block with the given hash.461824.ifonwh.asia/api/getblock?hash=0000005d44de57ee2e62e3e2f4a4b67666412fb994588297373f89ba4b392c67
- 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)461824.ifonwh.asia/api/getnetworkhashps
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supply461824.ifonwh.asia/ext/getmoneysupply
- getdistributionReturns wealth distribution stats461824.ifonwh.asia/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given address461824.ifonwh.asia/ext/getaddress/RNPnHmwm2DEXTXjFbREvgkEp7JjtskQCct
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]461824.ifonwh.asia/ext/getaddresstxs/RNPnHmwm2DEXTXjFbREvgkEp7JjtskQCct/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hash461824.ifonwh.asia/ext/gettx/89449c8dfadece4b44db1940d7324cdf02e57f3db0f6fb82104df75ca2a99d21
- getbalance (/ext/getbalance/hash)Returns current balance of given address461824.ifonwh.asia/ext/getbalance/RNPnHmwm2DEXTXjFbREvgkEp7JjtskQCct
- 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 price461824.ifonwh.asia/ext/getcurrentprice
- getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hours461824.ifonwh.asia/ext/getnetworkpeers
- getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, USD price, BTC price461824.ifonwh.asia/ext/getbasicstats
- getsummaryReturns a summary of coin data including: difficulty, hybrid difficulty, circulating supply, hash rate, BTC price, network connection count, block count461824.ifonwh.asia/ext/getsummary
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)461824.ifonwh.asia/tx/89449c8dfadece4b44db1940d7324cdf02e57f3db0f6fb82104df75ca2a99d21
- block (/block/hash)461824.ifonwh.asia/block/0000005d44de57ee2e62e3e2f4a4b67666412fb994588297373f89ba4b392c67
- address (/address/hash)461824.ifonwh.asia/address/RNPnHmwm2DEXTXjFbREvgkEp7JjtskQCct
- qrcode (/qr/hash)461824.ifonwh.asia/qr/RNPnHmwm2DEXTXjFbREvgkEp7JjtskQCct