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