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