Zum Inhalt springen
GET /v1/current

The current voting period: kind, status, ballot tally, quorum, supermajority

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/tezosgov-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/tezosgov-api/v1/current" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/tezosgov-api/v1/current", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/tezosgov-api/v1/current");
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/tezosgov-api/v1/current",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "kind": "promotion",
        "note": "The current Tezos voting period. kind is one of proposal / exploration / cooldown / promotion / adoption. In ballot periods, yay/nay/pass voting power and the quorum & supermajority thresholds decide whether the amendment passes.",
        "epoch": 90,
        "index": 175,
        "source": "TzKT",
        "status": "active",
        "nay_pct": 0,
        "yay_pct": 27.97,
        "end_time": "2026-06-15T21:17:25Z",
        "pass_pct": 33.18,
        "last_level": 13656288,
        "start_time": "2026-06-01T13:34:49Z",
        "first_level": 13454689,
        "nay_ballots": 0,
        "yay_ballots": 61,
        "pass_ballots": 19,
        "total_bakers": 218,
        "supermajority_pct": 80,
        "ballots_quorum_pct": 49.18,
        "nay_voting_power_xtz": 0,
        "yay_voting_power_xtz": 183636528.51415,
        "pass_voting_power_xtz": 217850754.265983,
        "total_voting_power_xtz": 656635662.773932
    },
    "meta": {
        "timestamp": "2026-06-14T08:03:46.467Z",
        "request_id": "bf39fc87-d405-4bd8-8a1a-02f7b9f083a2"
    },
    "status": "ok",
    "message": "Current period retrieved successfully",
    "success": true
}