/v1/token
SPL mint state: supply, decimals, mint/freeze authority, program
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/spltoken-api/v1/token" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/spltoken-api/v1/token", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/spltoken-api/v1/token");
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/spltoken-api/v1/token",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"note": "On-chain SPL mint state read live via getAccountInfo. supply_is_fixed is true when the mint authority is revoked (no more can be minted). freeze_authority being set means accounts can be frozen.",
"source": "public Solana RPC",
"supply": "8554390332726576",
"program": "Token",
"decimals": 6,
"ui_supply": "8554390332.726576",
"is_initialized": true,
"mint_authority": "BJE5MMbqXjVwjAF7oxwPYXnTXDyspzZyt4vwenNw5ruG",
"supply_is_fixed": false,
"freeze_authority": "7dGbd2QZcCKcTndnHcTL8q7SMVXAkp688NTQYwrRCrar"
},
"meta": {
"timestamp": "2026-06-14T08:04:08.438Z",
"request_id": "d1be2f00-c738-4968-9110-694b09e44b8b"
},
"status": "ok",
"message": "Token retrieved successfully",
"success": true
}