HTTP API Endpoints
Get All Miners
Copy
GET https://stats.targon.com/api/miners
Response:
{
"data": [
{
"uid": "1",
"payout": 100,
"compute_type": "H200",
"cards": 8
},
{
"uid": "2",
"payout": 100,
"compute_type": "H200",
"cards": 8
}
],
}Get Attestation Errors
Copy
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"
}
}
}Looking for Targon Docs?
Targon Docs