Netcoin Public API
A listing of public API endpoints for retrieving Netcoin coin data from the network without the need for a local wallet
API Documentation
API Calls
Return data from coind
- getdifficultyReturns the current difficulty.95.179.224.137:3001/api/getdifficulty
- getconnectioncountReturns the number of connections the block explorer has to other nodes.95.179.224.137:3001/api/getconnectioncount
- getblockcountReturns the current block index.95.179.224.137:3001/api/getblockcount
- getblockhash [index]Returns the hash of the block at [index]; index 0 is the genesis block.95.179.224.137:3001/api/getblockhash?index=1337
- getblock [hash]Returns information about the block with the given hash.95.179.224.137:3001/api/getblock?hash=a16266773d75dda0b59cfe9fa2cb11d221d8b5e58efee3a1040888eca3a42e65
- 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)95.179.224.137:3001/api/getnetworkhashps
Extended API
Return data from local indexes
- getmoneysupplyReturns current money supply95.179.224.137:3001/ext/getmoneysupply
- getdistributionReturns wealth distribution stats95.179.224.137:3001/ext/getdistribution
- getaddress (/ext/getaddress/hash)Returns information for given address95.179.224.137:3001/ext/getaddress/nFWhVMZHw6BA8jLjoLevWkSp8TTohb9ae5
- getaddresstxs (/ext/getaddresstxs/hash/start/length)Returns last [length] transactions for address [hash], starting from offset [start]95.179.224.137:3001/ext/getaddresstxs/nFWhVMZHw6BA8jLjoLevWkSp8TTohb9ae5/0/50
- gettx (/ext/gettx/hash)Returns information for given tx hash95.179.224.137:3001/ext/gettx/f33fa82a161a7e55ea77314f6eecfb2ab4bbf933f174b6d295135ee63a2d3f63
- getbalance (/ext/getbalance/hash)Returns current balance of given address95.179.224.137:3001/ext/getbalance/nFWhVMZHw6BA8jLjoLevWkSp8TTohb9ae5
- 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 price95.179.224.137:3001/ext/getcurrentprice
- getnetworkpeersReturns the list of network peers that have connected to the explorer node in the last 24 hours95.179.224.137:3001/ext/getnetworkpeers
- getbasicstatsReturns basic statistics about the coin including: block count, circulating supply, USD price, BTC price95.179.224.137:3001/ext/getbasicstats
- getsummaryReturns a summary of coin data including: difficulty, hybrid difficulty, circulating supply, hash rate, BTC price, network connection count, block count95.179.224.137:3001/ext/getsummary
Linking (GET)
Linking to the block explorer
- transaction (/tx/txid)95.179.224.137:3001/tx/f33fa82a161a7e55ea77314f6eecfb2ab4bbf933f174b6d295135ee63a2d3f63
- block (/block/hash)95.179.224.137:3001/block/a16266773d75dda0b59cfe9fa2cb11d221d8b5e58efee3a1040888eca3a42e65
- address (/address/hash)95.179.224.137:3001/address/nFWhVMZHw6BA8jLjoLevWkSp8TTohb9ae5
- qrcode (/qr/hash)95.179.224.137:3001/qr/nFWhVMZHw6BA8jLjoLevWkSp8TTohb9ae5