Bzetcoin Public API
A listing of public API endpoints for retrieving Bzetcoin coin data from the network without the need for a local wallet
API Documentation
API Calls
Return data from coind
- getblockcountReturns the current block index.127.0.0.1:3001/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.127.0.0.1:3001/api/getblockhash?index=82
- getblock [hash]Returns information about the block with the given hash.127.0.0.1:3001/api/getblock?hash=3af2bb0b7f31ef706d9e1f893bc317c4d7d1888a61e3204a05f9b2cbb131c871
- getrawtransaction [txid] [decrypt]Returns raw transaction representation for given transaction id. decrypt can be set to 0(false) or 1(true).
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supply127.0.0.1:3001/ext/getmoneysupply
- getdistributionReturns wealth distribution stats127.0.0.1:3001/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given address127.0.0.1:3001/ext/getaddress/bzet1qtd783334tvlhrlmqxsz066457n49x6qcc6en4s
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]127.0.0.1:3001/ext/getaddresstxs/bzet1qtd783334tvlhrlmqxsz066457n49x6qcc6en4s/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hash127.0.0.1:3001/ext/gettx/cc6a688842fcbf669b1aa113304e4bd907ade72705d929bdfb773127822a8671
- getbalance (/ext/getbalance/hash)Returns current balance of given address127.0.0.1:3001/ext/getbalance/bzet1qtd783334tvlhrlmqxsz066457n49x6qcc6en4s
- 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
- getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, USD price, BTC price127.0.0.1:3001/ext/getbasicstats
- getsummaryReturns a summary of coin data including: difficulty, hybrid difficulty, circulating supply, hash rate, BTC price, network connection count, block count127.0.0.1:3001/ext/getsummary
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)127.0.0.1:3001/tx/cc6a688842fcbf669b1aa113304e4bd907ade72705d929bdfb773127822a8671
- block (/block/hash)127.0.0.1:3001/block/3af2bb0b7f31ef706d9e1f893bc317c4d7d1888a61e3204a05f9b2cbb131c871
- address (/address/hash)127.0.0.1:3001/address/bzet1qtd783334tvlhrlmqxsz066457n49x6qcc6en4s
- qrcode (/qr/hash)127.0.0.1:3001/qr/bzet1qtd783334tvlhrlmqxsz066457n49x6qcc6en4s