PlexHive Public API
A listing of public API endpoints for retrieving PlexHive 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.plexhive.com/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.explorer.plexhive.com/api/getconnectioncount
- getblockcountReturns the current block index.explorer.plexhive.com/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.explorer.plexhive.com/api/getblockhash?index=7500
- getblock [hash]Returns information about the block with the given hash.explorer.plexhive.com/api/getblock?hash=bd2bd1e3e8b963ad3b8e6812a3d679bbb32e49298c3feb4297ee1e8b3a130af7
- 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.plexhive.com/api/getnetworkhashps
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supplyexplorer.plexhive.com/ext/getmoneysupply
- getdistributionReturns wealth distribution statsexplorer.plexhive.com/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given addressexplorer.plexhive.com/ext/getaddress/plh1qu6vzfm23675t9n6dpqcaulja3897zf6uvq26wh
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]explorer.plexhive.com/ext/getaddresstxs/plh1qu6vzfm23675t9n6dpqcaulja3897zf6uvq26wh/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hashexplorer.plexhive.com/ext/gettx/af21a92da739b0df6c86765a5ac88a9e8d29106a6cbb4eebdfaadda63e40d71e
- getbalance (/ext/getbalance/hash)Returns current balance of given addressexplorer.plexhive.com/ext/getbalance/plh1qu6vzfm23675t9n6dpqcaulja3897zf6uvq26wh
- 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.plexhive.com/ext/getcurrentprice
- getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hoursexplorer.plexhive.com/ext/getnetworkpeers
- getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, USD price, BTC priceexplorer.plexhive.com/ext/getbasicstats
- getsummaryReturns a summary of coin data including: difficulty, hybrid difficulty, circulating supply, hash rate, BTC price, USD price, network connection count, block countexplorer.plexhive.com/ext/getsummary
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)explorer.plexhive.com/tx/af21a92da739b0df6c86765a5ac88a9e8d29106a6cbb4eebdfaadda63e40d71e
- block (/block/hash)explorer.plexhive.com/block/bd2bd1e3e8b963ad3b8e6812a3d679bbb32e49298c3feb4297ee1e8b3a130af7
- address (/address/hash)explorer.plexhive.com/address/plh1qu6vzfm23675t9n6dpqcaulja3897zf6uvq26wh
- qrcode (/qr/hash)explorer.plexhive.com/qr/plh1qu6vzfm23675t9n6dpqcaulja3897zf6uvq26wh