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