
Lunarium Public API
A listing of public API endpoints for retrieving Lunarium coin data from the network without the need for a local wallet
API Documentation

API Calls
Return data from coind
- getdifficultyReturns the current difficulty.explorerxln.com/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.explorerxln.com/api/getconnectioncount
- getblockcountReturns the current block index.explorerxln.com/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.explorerxln.com/api/getblockhash?index=1
- getblock [hash]Returns information about the block with the given hash.explorerxln.com/api/getblock?hash=00000f71fa212d90ddfedecca41577961a66e6640a7ebcda7ef807d191622157
- 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)explorerxln.com/api/getnetworkhashps
- getvotelistReturns the current vote list.explorerxln.com/api/getvotelist
- getmasternodecountReturns the total number of masternodes on the network.explorerxln.com/api/getmasternodecount
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supplyexplorerxln.com/ext/getmoneysupply
- getdistributionReturns wealth distribution statsexplorerxln.com/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given addressexplorerxln.com/ext/getaddress/LVSmD4RxHDXmSRxiutEzH2zTCPEgZX1Jfm
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]explorerxln.com/ext/getaddresstxs/LVSmD4RxHDXmSRxiutEzH2zTCPEgZX1Jfm/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hashexplorerxln.com/ext/gettx/4b32795ce40ed2876715f7f475cd709dca6796ed7093e5d61866f985d6b995bf
- getbalance (/ext/getbalance/hash)Returns current balance of given addressexplorerxln.com/ext/getbalance/LVSmD4RxHDXmSRxiutEzH2zTCPEgZX1Jfm
- 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 priceexplorerxln.com/ext/getcurrentprice
- getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hoursexplorerxln.com/ext/getnetworkpeers
- getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, USD price, BTC price, # of masternodesexplorerxln.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 masternodesexplorerxln.com/ext/getsummary
- getmasternodelistReturns the complete list of masternodes on the network.explorerxln.com/ext/getmasternodelist
- getmasternoderewards (/ext/getmasternoderewards/hash/since)Returns a list of masternode reward transactions for address [hash] that arrived after block height [since]explorerxln.com/ext/getmasternoderewards/LVSmD4RxHDXmSRxiutEzH2zTCPEgZX1Jfm/1
- getmasternoderewardstotal (/ext/getmasternoderewardstotal/hash/since)Returns the total number of coins earned in masternode rewards for address [hash] that arrived after block height [since]explorerxln.com/ext/getmasternoderewardstotal/LVSmD4RxHDXmSRxiutEzH2zTCPEgZX1Jfm/1
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)explorerxln.com/tx/4b32795ce40ed2876715f7f475cd709dca6796ed7093e5d61866f985d6b995bf
- block (/block/hash)explorerxln.com/block/00000f71fa212d90ddfedecca41577961a66e6640a7ebcda7ef807d191622157
- address (/address/hash)explorerxln.com/address/LVSmD4RxHDXmSRxiutEzH2zTCPEgZX1Jfm
- qrcode (/qr/hash)explorerxln.com/qr/LVSmD4RxHDXmSRxiutEzH2zTCPEgZX1Jfm