Black Gold Coin Public API
A listing of public API endpoints for retrieving Black Gold Coin coin data from the network without the need for a local wallet
API Documentation
API Calls
Return data from coind
- getdifficultyReturns the current difficulty.bgco-explorer.nitopool.fr/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.bgco-explorer.nitopool.fr/api/getconnectioncount
- getblockcountReturns the current block index.bgco-explorer.nitopool.fr/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.bgco-explorer.nitopool.fr/api/getblockhash?index=5555
- getblock [hash]Returns information about the block with the given hash.bgco-explorer.nitopool.fr/api/getblock?hash=0000000000000015c4d10aa90a1d8d2230c2f04449abebf336dce293f9f3ea77
- 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)bgco-explorer.nitopool.fr/api/getnetworkhashps
- getvotelistReturns the current vote list.bgco-explorer.nitopool.fr/api/getvotelist
- getmasternodecountReturns the total number of masternodes on the network.bgco-explorer.nitopool.fr/api/getmasternodecount
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supplybgco-explorer.nitopool.fr/ext/getmoneysupply
- getdistributionReturns wealth distribution statsbgco-explorer.nitopool.fr/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given addressbgco-explorer.nitopool.fr/ext/getaddress/TF1xk5P1s4jYQCBHmM6afwkv4B2DGGGfFE
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]bgco-explorer.nitopool.fr/ext/getaddresstxs/TF1xk5P1s4jYQCBHmM6afwkv4B2DGGGfFE/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hashbgco-explorer.nitopool.fr/ext/gettx/2926c4b8d6fcdcbb8769764ef03ee6cff9aa7549921e751ee1ba997cc499169b
- getbalance (/ext/getbalance/hash)Returns current balance of given addressbgco-explorer.nitopool.fr/ext/getbalance/TF1xk5P1s4jYQCBHmM6afwkv4B2DGGGfFE
- 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 pricebgco-explorer.nitopool.fr/ext/getcurrentprice
- getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hoursbgco-explorer.nitopool.fr/ext/getnetworkpeers
- getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, USD price, BTC price, # of masternodesbgco-explorer.nitopool.fr/ext/getbasicstats
- getsummaryReturns a summary of coin data including: difficulty, hybrid difficulty, circulating supply, hash rate, BTC price, USD price, network connection count, block count, count of online masternodes, count of offline masternodesbgco-explorer.nitopool.fr/ext/getsummary
- getmasternodelistReturns the complete list of masternodes on the network.bgco-explorer.nitopool.fr/ext/getmasternodelist
- getmasternoderewards (/ext/getmasternoderewards/hash/since)Returns a list of masternode reward transactions for address [hash] that arrived after block height [since]bgco-explorer.nitopool.fr/ext/getmasternoderewards/TF1xk5P1s4jYQCBHmM6afwkv4B2DGGGfFE/5555
- getmasternoderewardstotal (/ext/getmasternoderewardstotal/hash/since)Returns the total number of coins earned in masternode rewards for address [hash] that arrived after block height [since]bgco-explorer.nitopool.fr/ext/getmasternoderewardstotal/TF1xk5P1s4jYQCBHmM6afwkv4B2DGGGfFE/5555
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)bgco-explorer.nitopool.fr/tx/2926c4b8d6fcdcbb8769764ef03ee6cff9aa7549921e751ee1ba997cc499169b
- block (/block/hash)bgco-explorer.nitopool.fr/block/0000000000000015c4d10aa90a1d8d2230c2f04449abebf336dce293f9f3ea77
- address (/address/hash)bgco-explorer.nitopool.fr/address/TF1xk5P1s4jYQCBHmM6afwkv4B2DGGGfFE
- qrcode (/qr/hash)bgco-explorer.nitopool.fr/qr/TF1xk5P1s4jYQCBHmM6afwkv4B2DGGGfFE