/v1/token
SPL mint state: supply, decimals, mint/freeze authority, program
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
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_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}