/v1/epoch
Epoch activity: blocks, transactions, output, fees, active stake
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/cardanochain-api/v1/epoch" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cardanochain-api/v1/epoch", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cardanochain-api/v1/epoch");
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/cardanochain-api/v1/epoch",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "Activity for the epoch: blocks produced, transaction count, total output and fees (in ADA), and the active stake securing it.",
"epoch": 637,
"blocks": 1805,
"source": "Koios",
"end_time": 1781819091,
"start_time": 1781387091,
"transactions": 7400,
"total_fees_ada": 2283.328435,
"active_stake_ada": 21609933343.537888,
"first_block_time": 1781387095,
"total_output_ada": 2586830311.082343
},
"meta": {
"timestamp": "2026-06-14T08:03:52.410Z",
"request_id": "4233ede8-6309-490e-b383-fa7a3e0fe65d"
},
"status": "ok",
"message": "Epoch retrieved successfully",
"success": true
}