SafeMineCoin Public API
A listing of public API endpoints for retrieving SafeMineCoin coin data from the network without the need for a local wallet
API Documentation
API Calls
Return data from coind
- getdifficultyReturns the current difficulty.explorer2.safeminecoin.org/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.explorer2.safeminecoin.org/api/getconnectioncount
- getblockcountReturns the current block index.explorer2.safeminecoin.org/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.explorer2.safeminecoin.org/api/getblockhash?index=9396
- getblock [hash]Returns information about the block with the given hash.explorer2.safeminecoin.org/api/getblock?hash=4c946e2d8e31bb3dee909064c73628459823efde4a9c1e67186514fb84cdd786
- 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)explorer2.safeminecoin.org/api/getnetworkhashps
- getvotelistReturns the current vote list.explorer2.safeminecoin.org/api/getvotelist
- getmasternodecountReturns the total number of masternodes on the network.explorer2.safeminecoin.org/api/getmasternodecount
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supplyexplorer2.safeminecoin.org/ext/getmoneysupply
- getdistributionReturns wealth distribution statsexplorer2.safeminecoin.org/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given addressexplorer2.safeminecoin.org/ext/getaddress/SRcbtDDU3mTKSdZmyAeFCdvrKfJDHpQzdS
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]explorer2.safeminecoin.org/ext/getaddresstxs/SRcbtDDU3mTKSdZmyAeFCdvrKfJDHpQzdS/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hashexplorer2.safeminecoin.org/ext/gettx/8550e52468e5fb2429e36302a6768d112f244899598e7a9f9b5bb65d51a3fdb3
- getbalance (/ext/getbalance/hash)Returns current balance of given addressexplorer2.safeminecoin.org/ext/getbalance/SRcbtDDU3mTKSdZmyAeFCdvrKfJDHpQzdS
- 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 priceexplorer2.safeminecoin.org/ext/getcurrentprice
- getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hoursexplorer2.safeminecoin.org/ext/getnetworkpeers
- getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, USD price, BTC price, # of masternodesexplorer2.safeminecoin.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 masternodesexplorer2.safeminecoin.org/ext/getsummary
- getmasternodelistReturns the complete list of masternodes on the network.explorer2.safeminecoin.org/ext/getmasternodelist
- getmasternoderewards (/ext/getmasternoderewards/hash/since)Returns a list of masternode reward transactions for address [hash] that arrived after block height [since]explorer2.safeminecoin.org/ext/getmasternoderewards/SRcbtDDU3mTKSdZmyAeFCdvrKfJDHpQzdS/9396
- getmasternoderewardstotal (/ext/getmasternoderewardstotal/hash/since)Returns the total number of coins earned in masternode rewards for address [hash] that arrived after block height [since]explorer2.safeminecoin.org/ext/getmasternoderewardstotal/SRcbtDDU3mTKSdZmyAeFCdvrKfJDHpQzdS/9396
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)explorer2.safeminecoin.org/tx/8550e52468e5fb2429e36302a6768d112f244899598e7a9f9b5bb65d51a3fdb3
- block (/block/hash)explorer2.safeminecoin.org/block/4c946e2d8e31bb3dee909064c73628459823efde4a9c1e67186514fb84cdd786
- address (/address/hash)explorer2.safeminecoin.org/address/SRcbtDDU3mTKSdZmyAeFCdvrKfJDHpQzdS
- qrcode (/qr/hash)explorer2.safeminecoin.org/qr/SRcbtDDU3mTKSdZmyAeFCdvrKfJDHpQzdS