/v1/witness
One witness by account: votes, rank, missed, parameters
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/hivewitness-api/v1/witness" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hivewitness-api/v1/witness", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hivewitness-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/hivewitness-api/v1/witness",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"url": "https://blocktrades.us",
"note": "A single Hive witness: its vote weight (in HIVE Power), rank, missed blocks, node version, published HBD price feed and the chain parameters it sets. Omit account for the top witness.",
"rank": 7,
"owner": "blocktrades",
"source": "Hive RPC",
"created": "2016-03-30T00:04:33",
"votes_hp": 96800208,
"is_active": true,
"last_block": 107270473,
"votes_vests": 157048441862.97507,
"total_missed": 3730,
"price_feed_hbd": 0.049,
"running_version": "1.28.3",
"hbd_interest_rate": 1200,
"maximum_block_size": 65536,
"account_creation_fee": "3.000 HIVE"
},
"meta": {
"timestamp": "2026-06-14T17:04:37.156Z",
"request_id": "d4621521-760c-4fb2-87c6-00200649b473"
},
"status": "ok",
"message": "Witness retrieved successfully",
"success": true
}