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/mantra-api

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "note": "The MANTRA monetary inflation — the current annual inflation rate, the OM minted per year (annual provisions), and the mint parameters (blocks per year, target bonded ratio, inflation band). No parameters.",
        "params": {
            "mint_denom": "amantra",
            "blocks_per_year": 9562910,
            "goal_bonded_percent": 67,
            "inflation_max_percent": 16,
            "inflation_min_percent": 16
        },
        "source": "MANTRA (mantra-1) LCD",
        "annual_provisions_om": 1254040763.92,
        "annual_inflation_percent": 16
    },
    "meta": {
        "timestamp": "2026-06-15T02:10:26.457Z",
        "request_id": "822634f7-f6bd-4cc2-90ab-028749a3ed40"
    },
    "status": "ok",
    "message": "Inflation retrieved successfully",
    "success": true
}