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