PEPEPOW Public API
A listing of public API endpoints for retrieving PEPEPOW coin data from the network without the need for a local wallet
API Documentation
API Calls
Return data from coind
- getdifficultyReturns the current difficulty.localhost:3001/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.localhost:3001/api/getconnectioncount
- getblockcountReturns the current block index.localhost:3001/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.localhost:3001/api/getblockhash?index=54448
- getblock [hash]Returns information about the block with the given hash.localhost:3001/api/getblock?hash=000000000000c0f29fde9d7796739f9b6a0e50227779575cb80933e875b71a83
- 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)localhost:3001/api/getnetworkhashps
- getmasternodecountReturns the total number of masternodes on the network.localhost:3001/api/getmasternodecount
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supplylocalhost:3001/ext/getmoneysupply
- getdistributionReturns wealth distribution statslocalhost:3001/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given addresslocalhost:3001/ext/getaddress/PNnT9mGwvVBsEnmixKZV6cS3zFnEdPVEZm
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]localhost:3001/ext/getaddresstxs/PNnT9mGwvVBsEnmixKZV6cS3zFnEdPVEZm/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hashlocalhost:3001/ext/gettx/ca0d08830a2b03fff7a6b935798041f96411c3d71b3ad4db3470b8bf3ac5319a
- getbalance (/ext/getbalance/hash)Returns current balance of given addresslocalhost:3001/ext/getbalance/PNnT9mGwvVBsEnmixKZV6cS3zFnEdPVEZm
- 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 pricelocalhost:3001/ext/getcurrentprice
- getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hourslocalhost:3001/ext/getnetworkpeers
- getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, USD price, USDT price, # of masternodeslocalhost:3001/ext/getbasicstats
- getsummaryReturns a summary of coin data including: difficulty, hybrid difficulty, circulating supply, hash rate, USDT price, network connection count, block count, count of online masternodes, count of offline masternodeslocalhost:3001/ext/getsummary
- getmasternodelistReturns the complete list of masternodes on the network.localhost:3001/ext/getmasternodelist
- getmasternoderewards (/ext/getmasternoderewards/hash/since)Returns a list of masternode reward transactions for address [hash] that arrived after block height [since]localhost:3001/ext/getmasternoderewards/PNnT9mGwvVBsEnmixKZV6cS3zFnEdPVEZm/54448
- getmasternoderewardstotal (/ext/getmasternoderewardstotal/hash/since)Returns the total number of coins earned in masternode rewards for address [hash] that arrived after block height [since]localhost:3001/ext/getmasternoderewardstotal/PNnT9mGwvVBsEnmixKZV6cS3zFnEdPVEZm/54448
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)localhost:3001/tx/ca0d08830a2b03fff7a6b935798041f96411c3d71b3ad4db3470b8bf3ac5319a
- block (/block/hash)localhost:3001/block/000000000000c0f29fde9d7796739f9b6a0e50227779575cb80933e875b71a83
- address (/address/hash)localhost:3001/address/PNnT9mGwvVBsEnmixKZV6cS3zFnEdPVEZm
- qrcode (/qr/hash)localhost:3001/qr/PNnT9mGwvVBsEnmixKZV6cS3zFnEdPVEZm