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