API Documentation
API Calls
Return data from coind
- getdifficultyReturns the current difficulty.explorer.betgenius.cc/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.explorer.betgenius.cc/api/getconnectioncount
- getblockcountReturns the current block index.explorer.betgenius.cc/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.explorer.betgenius.cc/api/getblockhash?index=15
- getblock [hash]Returns information about the block with the given hash.explorer.betgenius.cc/api/getblock?hash=0006bbca4b4d2fe543596562b8f74420f1a9342ac99ff880278ff7da76f9b33b
- 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.betgenius.cc/api/getnetworkhashps
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supplyexplorer.betgenius.cc/ext/getmoneysupply
- getdistributionReturns wealth distribution statsexplorer.betgenius.cc/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given addressexplorer.betgenius.cc/ext/getaddress/btg1qdzrfuuf9jer76sxy5y79ws25qpvy3t3knh289y
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]explorer.betgenius.cc/ext/getaddresstxs/btg1qdzrfuuf9jer76sxy5y79ws25qpvy3t3knh289y/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hashexplorer.betgenius.cc/ext/gettx/6b325d44cec1db2ca83cffc6ca5c057f5221c1d49ae901739753a2a5e4e0a771
- getbalance (/ext/getbalance/hash)Returns current balance of given addressexplorer.betgenius.cc/ext/getbalance/btg1qdzrfuuf9jer76sxy5y79ws25qpvy3t3knh289y
- 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
- getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hoursexplorer.betgenius.cc/ext/getnetworkpeers
- getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, USD price, BTC priceexplorer.betgenius.cc/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.betgenius.cc/ext/getsummary
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)explorer.betgenius.cc/tx/6b325d44cec1db2ca83cffc6ca5c057f5221c1d49ae901739753a2a5e4e0a771
- block (/block/hash)explorer.betgenius.cc/block/0006bbca4b4d2fe543596562b8f74420f1a9342ac99ff880278ff7da76f9b33b
- address (/address/hash)explorer.betgenius.cc/address/btg1qdzrfuuf9jer76sxy5y79ws25qpvy3t3knh289y
- qrcode (/qr/hash)explorer.betgenius.cc/qr/btg1qdzrfuuf9jer76sxy5y79ws25qpvy3t3knh289y