Lotus Explorer provides an API allowing the ability to retrieve information from the Lotus network
Return data from lotusd
getdifficulty
Returns the current difficulty.
explorer.lotusia.org/api/getdifficulty
getconnectioncount
Returns the number of connections the block explorer has to other nodes.
explorer.lotusia.org/api/getconnectioncount
getblockcount
Returns the current block index.
explorer.lotusia.org/api/getblockcount
getblockhash [index]
Returns the hash of the block at ; index 0 is the genesis block.
explorer.lotusia.org/api/getblockhash?index=1124
getblock [hash]
Returns information about the block with the given hash.
explorer.lotusia.org/api/getblock?hash=000000000784d2162c9759f2b833a9dcffffc7700b4a6419edbc3ac8b3d604a3
getrawtransaction [txid] [decrypt]
Returns raw transaction representation for given transaction id. decrypt can be set to 0(false) or 1(true).
explorer.lotusia.org/api/getrawtransaction?txid=11a47493b3eac2762ad0e937ed8a2c4183f48248e5a78cffd0fadd58d21ac659&decrypt=0
explorer.lotusia.org/api/getrawtransaction?txid=11a47493b3eac2762ad0e937ed8a2c4183f48248e5a78cffd0fadd58d21ac659&decrypt=1
getnetworkhashps
Returns the current network hashrate. (H/s)
explorer.lotusia.org/api/getnetworkhashps
Return data from local indexes
getmoneysupply
Returns current coin supply
explorer.lotusia.org/ext/getmoneysupply
getburnedsupply
Returns current burned (unspendable) supply
explorer.lotusia.org/ext/getburnedsupply
getdistribution
Returns wealth distribution stats
explorer.lotusia.org/ext/getdistribution
getlastprice (/ext/getlastprice/:market)
Return latest price per XPI in configured exchange pair (likely USDT)
explorer.lotusia.org/ext/getlastprice/exbitron
getaddress (/ext/getaddress/hash)
Returns information for given address
explorer.lotusia.org/ext/getaddress/lotus_16PSJLRch2sEyPjCTnGAhPoBqFSJm33ojztCprQyD
gettx (/ext/gettx/hash)
Returns information for given tx hash
explorer.lotusia.org/ext/gettx/11a47493b3eac2762ad0e937ed8a2c4183f48248e5a78cffd0fadd58d21ac659
getbalance (/ext/getbalance/hash)
Returns current balance of given address
explorer.lotusia.org/ext/getbalance/lotus_16PSJLRch2sEyPjCTnGAhPoBqFSJm33ojztCprQyD
getlastblocksajax (/ext/getlastblocksajax/min)
Returns last blocks (DataTables array format)
explorer.lotusia.org/ext/getlastblocksajax
Return data from Chronik indexer
utxos (/chronik/utxos/:address)
explorer.lotusia.org/chronik/utxos/lotus_16PSJLRch2sEyPjCTnGAhPoBqFSJm33ojztCprQyD
history (/chronik/history/:address/:page/:pageSize)
explorer.lotusia.org/chronik/history/lotus_16PSJLRch2sEyPjCTnGAhPoBqFSJm33ojztCprQyD/0/50
block (/chronik/block/:hashOrHeight)
explorer.lotusia.org/chronik/block/1124
explorer.lotusia.org/chronik/block/000000000784d2162c9759f2b833a9dcffffc7700b4a6419edbc3ac8b3d604a3
tx (/chronik/tx/:txid)
explorer.lotusia.org/chronik/block/11a47493b3eac2762ad0e937ed8a2c4183f48248e5a78cffd0fadd58d21ac659
sendtx (/chronik/sendtx/:rawTx)
Broadcast hex-encoded signed tx to Lotus network
Linking to the block explorer
transaction (/tx/txid)
explorer.lotusia.org/tx/11a47493b3eac2762ad0e937ed8a2c4183f48248e5a78cffd0fadd58d21ac659
block (/block/hash)
explorer.lotusia.org/block/000000000784d2162c9759f2b833a9dcffffc7700b4a6419edbc3ac8b3d604a3
address (/address/hash)
explorer.lotusia.org/address/lotus_16PSJLRch2sEyPjCTnGAhPoBqFSJm33ojztCprQyD
qrcode (/qr/hash)
explorer.lotusia.org/qr/lotus_16PSJLRch2sEyPjCTnGAhPoBqFSJm33ojztCprQyD