Sumcoin Public API
A listing of public API endpoints for retrieving Sumcoin coin data from the network without the need for a local wallet
API Documentation
API Calls
Return data from coind
- getdifficultyReturns the current difficulty.sumexplorer.com/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.sumexplorer.com/api/getconnectioncount
- getblockcountReturns the current block index.sumexplorer.com/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.sumexplorer.com/api/getblockhash?index=64152
- getblock [hash]Returns information about the block with the given hash.sumexplorer.com/api/getblock?hash=1d3892705342fa00370bd9f438e510395ed0241a70aa2c148a03d2d15c57ebf4
- 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)sumexplorer.com/api/getnetworkhashps
- getvotelistReturns the current vote list.sumexplorer.com/api/getvotelist
- getmasternodecountReturns the total number of masternodes on the network.sumexplorer.com/api/getmasternodecount
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supplysumexplorer.com/ext/getmoneysupply
- getdistributionReturns wealth distribution statssumexplorer.com/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given addresssumexplorer.com/ext/getaddress/SYDDEBXwyrzQ6hWHkq7WyC3Ms8X165uMaW
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]sumexplorer.com/ext/getaddresstxs/SYDDEBXwyrzQ6hWHkq7WyC3Ms8X165uMaW/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hashsumexplorer.com/ext/gettx/6ac5a1dac2700eb70cfad19a9ca1058480a2dde794c9cd6ec4ebe94027f697cb
- getbalance (/ext/getbalance/hash)Returns current balance of given addresssumexplorer.com/ext/getbalance/SYDDEBXwyrzQ6hWHkq7WyC3Ms8X165uMaW
- 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 pricesumexplorer.com/ext/getcurrentprice
- getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hourssumexplorer.com/ext/getnetworkpeers
- getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, USD price, SUM price, # of masternodessumexplorer.com/ext/getbasicstats
- getsummaryReturns a summary of coin data including: difficulty, hybrid difficulty, circulating supply, hash rate, SUM price, USD price, network connection count, block count, count of online masternodes, count of offline masternodessumexplorer.com/ext/getsummary
- getmasternodelistReturns the complete list of masternodes on the network.sumexplorer.com/ext/getmasternodelist
- getmasternoderewards (/ext/getmasternoderewards/hash/since)Returns a list of masternode reward transactions for address [hash] that arrived after block height [since]sumexplorer.com/ext/getmasternoderewards/SYDDEBXwyrzQ6hWHkq7WyC3Ms8X165uMaW/64152
- getmasternoderewardstotal (/ext/getmasternoderewardstotal/hash/since)Returns the total number of coins earned in masternode rewards for address [hash] that arrived after block height [since]sumexplorer.com/ext/getmasternoderewardstotal/SYDDEBXwyrzQ6hWHkq7WyC3Ms8X165uMaW/64152
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)sumexplorer.com/tx/6ac5a1dac2700eb70cfad19a9ca1058480a2dde794c9cd6ec4ebe94027f697cb
- block (/block/hash)sumexplorer.com/block/1d3892705342fa00370bd9f438e510395ed0241a70aa2c148a03d2d15c57ebf4
- address (/address/hash)sumexplorer.com/address/SYDDEBXwyrzQ6hWHkq7WyC3Ms8X165uMaW
- qrcode (/qr/hash)sumexplorer.com/qr/SYDDEBXwyrzQ6hWHkq7WyC3Ms8X165uMaW