API

⇨ Current pool stats
  • API request: http://btcmine.com/api/getpoolstats/{auth_token}/
    Answer (JSON): {"getworks": 21, "round_shares": 130299, "miners": 69, "round_duration": "09:51:57", "block": 120766, "round_started": "2011-04-28T17:19:31.650473", "hashrate": "15756.68"}
    hashrate - MHash/s as formated string
⇨ Current balance for user
  • API request: http://btcmine.com/api/getbalance/{auth_token}/
    Answer (JSON): {"confirmed": "x.xxxxxxxx", "unconfirmed": "x.xxxxxxxx"}
    returned values - decimal strings
⇨ Current statistics for user
  • API request: http://btcmine.com/api/getstats/{YOUR_API_AUTH_TOKEN}/
    Answer (JSON): {"total_24h": "0.00000000", "total_bounty": "0.00000000", "confirmed_bounty": "0.00000000", "solved_blocks": 0, "round_shares": 28, "estimated_bounty": "0.10649149", "solved_shares": 6167, "unconfirmed_bounty": "0.00000000", "hashrate": "20.23", "online_status": true, "total_payout": "4.23"}
    hashrate - MHash/s as formated string
⇨ Current statistics for user miners
  • API request: http://btcmine.com/api/getminerstats/{YOUR_API_AUTH_TOKEN}/
    Answer (JSON): {"miners": [{"name": "dbitcoin", "date_connected": "2011-04-06T08:20:16.781903", "online_status": true, "solved_shares": 6167, "solved_blocks": 0}]}