Vai al contenuto
GET /v1/inflation

Monetary inflation & mint parameters

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/mantra-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}