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