
Blackcoin Public API
A listing of public API endpoints for retrieving Blackcoin coin data from the network without the need for a local wallet
API Documentation

API Calls
Return data from coind
- getdifficultyReturns the current difficulty.testnet.blackcoin.nl/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.testnet.blackcoin.nl/api/getconnectioncount
- getblockcountReturns the current block index.testnet.blackcoin.nl/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.testnet.blackcoin.nl/api/getblockhash?index=2821721
- getblock [hash]Returns information about the block with the given hash.testnet.blackcoin.nl/api/getblock?hash=9c777c4de5577afee25c34cce06c416adbf121d2f120e4d27e4bfd4b57f6578f
- getrawtransaction [txid] [decrypt]Returns raw transaction representation for given transaction id. decrypt can be set to 0(false) or 2(true).
- getnetworkhashpsReturns the current network hashrate. (hash/s)testnet.blackcoin.nl/api/getnetworkhashps
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supplytestnet.blackcoin.nl/ext/getmoneysupply
- getdistributionReturns wealth distribution statstestnet.blackcoin.nl/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given addresstestnet.blackcoin.nl/ext/getaddress/mhyBALmVNmSPXmTBiymGbu5PyHuEczq45E
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]testnet.blackcoin.nl/ext/getaddresstxs/mhyBALmVNmSPXmTBiymGbu5PyHuEczq45E/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hashtestnet.blackcoin.nl/ext/gettx/29175d5d6a3f4b0839183db97d7659e85442ac0f0cea13f78df458580b2f1852
- getbalance (/ext/getbalance/hash)Returns current balance of given addresstestnet.blackcoin.nl/ext/getbalance/mhyBALmVNmSPXmTBiymGbu5PyHuEczq45E
- getlasttxs (/ext/getlasttxs/min/start/length)Returns last [length] transactions greater than [min] coins, starting from offset [start]Note: [length] is limited to returning 10000 records per query
- getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hourstestnet.blackcoin.nl/ext/getnetworkpeers
- getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, USD price, BTC pricetestnet.blackcoin.nl/ext/getbasicstats
- getsummaryReturns a summary of coin data including: difficulty, hybrid difficulty, circulating supply, hash rate, BTC price, USD price, network connection count, block counttestnet.blackcoin.nl/ext/getsummary
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)testnet.blackcoin.nl/tx/29175d5d6a3f4b0839183db97d7659e85442ac0f0cea13f78df458580b2f1852
- block (/block/hash)testnet.blackcoin.nl/block/9c777c4de5577afee25c34cce06c416adbf121d2f120e4d27e4bfd4b57f6578f
- address (/address/hash)testnet.blackcoin.nl/address/mhyBALmVNmSPXmTBiymGbu5PyHuEczq45E
- qrcode (/qr/hash)testnet.blackcoin.nl/qr/mhyBALmVNmSPXmTBiymGbu5PyHuEczq45E


