/v1/witness
One SR by address: votes, rank, production, miss rate
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/tronsr-api/v1/witness" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/tronsr-api/v1/witness", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/tronsr-api/v1/witness");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/tronsr-api/v1/witness",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"url": "https://poloniex.com/",
"name": "Poloniex",
"note": "A single Tron Super Representative / candidate: its votes (and share of all votes), rank, block production, miss rate and latest block. Omit address for the top SR.",
"rank": 1,
"votes": 5109622831,
"source": "TronScan",
"address": "TJvaAeFb8Lykt9RQcVyyTFN2iDvGMuyD4M",
"vote_pct": 11.5076,
"is_active_sr": true,
"latest_block": 83584926,
"missed_total": 369,
"produced_total": 2458951,
"produce_rate_pct": 99.985
},
"meta": {
"timestamp": "2026-06-14T08:03:43.798Z",
"request_id": "d71a58d7-bca0-4ec7-ba79-2698a5115642"
},
"status": "ok",
"message": "Witness retrieved successfully",
"success": true
}