Zum Inhalt springen
GET /v1/inflation

Monetary inflation & mint parameters

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "note": "The Persistence monetary inflation — the current annual inflation rate, the XPRT minted per year (annual provisions), and the mint parameters (blocks per year, target bonded ratio, inflation band). No parameters.",
        "params": {
            "mint_denom": "uxprt",
            "blocks_per_year": 5259600,
            "goal_bonded_percent": 67,
            "inflation_max_percent": 12.5,
            "inflation_min_percent": 6.25
        },
        "source": "Persistence (core-1) LCD",
        "annual_provisions_xprt": 32685209.64,
        "annual_inflation_percent": 12.5
    },
    "meta": {
        "timestamp": "2026-06-15T02:10:24.456Z",
        "request_id": "c1e25fb5-c4ae-4e28-a4d1-601abe7e3819"
    },
    "status": "ok",
    "message": "Inflation retrieved successfully",
    "success": true
}