Targon-logo

Targon Stats

E. Pool 0.0000
Tao Price $0.00
Max Bid $0.00
Current 0

HTTP API Endpoints

Get Specific Endpoints

GET https://stats.targon.com/api/miners/{miner_id}
Response:
{
  "data": {
    "uid": "miner_id",
    "average_price": 10000,
    "total_price": 10000,
    "average_payout": 800,
    "total_payout": 800,
    "gpus": 8,
    "nodes": 1,
    "diluted": false
  }
}

Get All Miners

GET https://stats.targon.com/api/miners
Response:
{
  "data": [
    {
      "uid": "1",
      "average_price": 10000,
      "average_payout": 800,
      "total_price": 10000,
      "total_payout": 800,
      "gpus": 8,
      "nodes": 1,
      "diluted": false
    },
    {
      "uid": "2",
      "average_price": 12000,
      "average_payout": 950,
      "total_price": 24000,
      "total_payout": 1900,
      "gpus": 16,
      "nodes": 2,
      "diluted": true
    }
  ],
}

Get All Bids

GET https://stats.targon.com/api/bids
Response:
{
  "data": [
    {
      "uid": "1",
      "gpus": 8,
      "price": 10000,
      "payout": 800,
      "diluted": false
    },
    {
      "uid": "2", 
      "gpus": 16,
      "price": 12000,
      "payout": 950,
      "diluted": true
    }
  ],
}

Get Max Bid

GET https://stats.targon.com/api/bids/max
Response:
{
  "data": 300
}

Get Attestation Errors

This protected route requires to user to pass in Epistula headers.

GET https://stats.targon.com/api/miners/attest/error/{miner_id} Headers: { "Epistula-Request-Signature": "signature", "Epistula-Uuid": "uuid", "Epistula-Timestamp": "timestamp", "Epistula-Signed-For": "", "Epistula-Signed-By": "hotkey" } Response: { "data": { "miner_id": { "ip_address_1": "error_message_1", "ip_address_2": "error_message_2" }, "hotkey_to_uid": { "hotkey": "miner_id" } } }