
Subi Public API
A listing of public API endpoints for retrieving Subi 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.ravencash.space/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.explorer.ravencash.space/api/getconnectioncount
- getblockcountReturns the current block index.explorer.ravencash.space/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.explorer.ravencash.space/api/getblockhash?index=555555
- getblock [hash]Returns information about the block with the given hash.explorer.ravencash.space/api/getblock?hash=f91b913174cc44ff71be83b4dac2fb8c48e444d99e80c511507e9187f46f081c
- 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.ravencash.space/api/getnetworkhashps
- getvotelistReturns the current vote list.explorer.ravencash.space/api/getvotelist
- getmasternodecountReturns the total number of masternodes on the network.explorer.ravencash.space/api/getmasternodecount
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supplyexplorer.ravencash.space/ext/getmoneysupply
- getdistributionReturns wealth distribution statsexplorer.ravencash.space/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given addressexplorer.ravencash.space/ext/getaddress/SUWBH14PfomduHCnw9xphcpygteub5cTAn
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]explorer.ravencash.space/ext/getaddresstxs/SUWBH14PfomduHCnw9xphcpygteub5cTAn/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hashexplorer.ravencash.space/ext/gettx/f91b913174cc44ff71be83b4dac2fb8c48e444d99e80c511507e9187f46f081c
- getbalance (/ext/getbalance/hash)Returns current balance of given addressexplorer.ravencash.space/ext/getbalance/SUWBH14PfomduHCnw9xphcpygteub5cTAn
- 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.ravencash.space/ext/getcurrentprice
- getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hoursexplorer.ravencash.space/ext/getnetworkpeers
- getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, USD price, USDT price, # of masternodesexplorer.ravencash.space/ext/getbasicstats
- getsummaryReturns a summary of coin data including: difficulty, hybrid difficulty, circulating supply, hash rate, USDT price, USD price, network connection count, block count, count of online masternodes, count of offline masternodesexplorer.ravencash.space/ext/getsummary
- getmasternodelistReturns the complete list of masternodes on the network.explorer.ravencash.space/ext/getmasternodelist
- getmasternoderewards (/ext/getmasternoderewards/hash/since)Returns a list of masternode reward transactions for address [hash] that arrived after block height [since]explorer.ravencash.space/ext/getmasternoderewards/SUWBH14PfomduHCnw9xphcpygteub5cTAn/555555
- 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.ravencash.space/ext/getmasternoderewardstotal/SUWBH14PfomduHCnw9xphcpygteub5cTAn/555555
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)explorer.ravencash.space/tx/f91b913174cc44ff71be83b4dac2fb8c48e444d99e80c511507e9187f46f081c
- block (/block/hash)explorer.ravencash.space/block/f91b913174cc44ff71be83b4dac2fb8c48e444d99e80c511507e9187f46f081c
- address (/address/hash)explorer.ravencash.space/address/SUWBH14PfomduHCnw9xphcpygteub5cTAn
- qrcode (/qr/hash)explorer.ravencash.space/qr/SUWBH14PfomduHCnw9xphcpygteub5cTAn

