/v1/inflation
Monetary inflation & mint parameters
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
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_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"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
}