Shahepay Public API
A listing of public API endpoints for retrieving Shahepay 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.shahepay.online/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.explorer.shahepay.online/api/getconnectioncount
- getblockcountReturns the current block index.explorer.shahepay.online/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.explorer.shahepay.online/api/getblockhash?index=294
- getblock [hash]Returns information about the block with the given hash.explorer.shahepay.online/api/getblock?hash=000001b2be3c5dfb6ca4789ef9b3a91a5525b9ff900d16117ec0fbe5c77ed226
- 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.shahepay.online/api/getnetworkhashps
- getvotelistReturns the current vote list.explorer.shahepay.online/api/getvotelist
- getmasternodecountReturns the total number of masternodes on the network.explorer.shahepay.online/api/getmasternodecount
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supplyexplorer.shahepay.online/ext/getmoneysupply
- getdistributionReturns wealth distribution statsexplorer.shahepay.online/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given addressexplorer.shahepay.online/ext/getaddress/SZNzqr27hXrWeHLVUwY2fAwQDTWm7EX4kU
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]explorer.shahepay.online/ext/getaddresstxs/SZNzqr27hXrWeHLVUwY2fAwQDTWm7EX4kU/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hashexplorer.shahepay.online/ext/gettx/40099225775be7e6d6cb97c81e288aa72877d934319d583f449f34d63a9fdadb
- getbalance (/ext/getbalance/hash)Returns current balance of given addressexplorer.shahepay.online/ext/getbalance/SZNzqr27hXrWeHLVUwY2fAwQDTWm7EX4kU
- 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.shahepay.online/ext/getcurrentprice
- getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hoursexplorer.shahepay.online/ext/getnetworkpeers
- getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, USD price, BTC price, # of masternodesexplorer.shahepay.online/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 masternodesexplorer.shahepay.online/ext/getsummary
- getmasternodelistReturns the complete list of masternodes on the network.explorer.shahepay.online/ext/getmasternodelist
- getmasternoderewards (/ext/getmasternoderewards/hash/since)Returns a list of masternode reward transactions for address [hash] that arrived after block height [since]explorer.shahepay.online/ext/getmasternoderewards/SZNzqr27hXrWeHLVUwY2fAwQDTWm7EX4kU/294
- getmasternoderewardstotal (/ext/getmasternoderewardstotal/hash/since)Returns the total number of coins earned in masternode rewards for address [hash] that arrived after block height [since]explorer.shahepay.online/ext/getmasternoderewardstotal/SZNzqr27hXrWeHLVUwY2fAwQDTWm7EX4kU/294
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)explorer.shahepay.online/tx/40099225775be7e6d6cb97c81e288aa72877d934319d583f449f34d63a9fdadb
- block (/block/hash)explorer.shahepay.online/block/000001b2be3c5dfb6ca4789ef9b3a91a5525b9ff900d16117ec0fbe5c77ed226
- address (/address/hash)explorer.shahepay.online/address/SZNzqr27hXrWeHLVUwY2fAwQDTWm7EX4kU
- qrcode (/qr/hash)explorer.shahepay.online/qr/SZNzqr27hXrWeHLVUwY2fAwQDTWm7EX4kU