Zum Inhalt springen
GET /v1/governance

Latest governance proposals

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "count": 5,
        "proposals": [
            {
                "id": 5,
                "title": "Upgrade network to version v1.0.0",
                "status": "PROPOSAL_STATUS_PASSED",
                "summary": "Upgrade Warden Protocol to version v1.0.0",
                "submit_time": "2026-03-16T13:34:50.431285542Z",
                "voting_end_time": "2026-03-18T13:24:50.431285542Z"
            },
            {
                "id": 4,
                "title": "Set Fixed 3% Inflation Rate",
                "status": "PROPOSAL_STATUS_REJECTED",
                "summary": "Sets inflation to a fixed 3% annual rate to address low circulating supply and staking participation. Both inflation_max and inflation_min are set to 3%, and inflation_rate_change is set to 0.",
                "submit_time": "2026-02-12T11:33:36.311948433Z",
                "voting_end_time": "2026-02-17T11:33:36.311948433Z"
            },
            {
                "id": 3,
                "title": "Increase transaction fees",
                "status": "PROPOSAL_STATUS_PASSED",
                "summary": "Increase transaction fees to make the network less subject to attacks, while keeping them very affordable.",
                "submit_time": "2026-02-05T08:51:52.449746411Z",
                "voting_end_time": "2026-02-10T08:51:52.449746411Z"
            },
            {
                "id": 2,
                "title": "v0.7.4",
                "status": "PROPOSAL_STATUS_PASSED",
                "summary": "Upgrade Barra testnet to version v0.7.4.\n\nConsensus-breaking changes:\n- x/erc20: enable WARD mapping to 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE\n- Upgrade cosmos/evm to v0.5.1\n",
                "submit_time": "2026-01-13T16:02:09.323104686Z",
                "voting_end_time": "2026-01-15T15:52:09.323104686Z"
            },
            {
                "id": 1,
                "title": "Upgrade proposal v0.7.2",
                "status": "PROPOSAL_STATUS_PASSED",
                "summary": "Upgrade Warden Protocol mainnet to version v0.7.2.",
                "submit_time": "2025-10-24T19:37:36.136046734Z",
                "voting_end_time": "2025-10-26T19:27:36.136046734Z"
            }
        ]
    },
    "meta": {
        "timestamp": "2026-06-15T11:15:18.509Z",
        "request_id": "dacad524-6efd-461a-83f9-e23b38b1d110"
    },
    "status": "ok",
    "message": "Governance retrieved successfully",
    "success": true
}