/v1/coin
A coin type's on-chain metadata
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/suinetwork-api/v1/coin" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/suinetwork-api/v1/coin", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/suinetwork-api/v1/coin");
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/suinetwork-api/v1/coin",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"name": "Sui",
"note": "On-chain metadata for a Sui coin type — its name, symbol, decimals, description and icon. Every Sui coin is a typed Move object (e.g. 0x2::sui::SUI); pass coin_type for any coin, or omit for native SUI.",
"source": "Sui RPC",
"symbol": "SUI",
"decimals": 9,
"icon_url": null,
"coin_type": "0x2::sui::SUI",
"description": null,
"metadata_object_id": "0xf256d3fb6a50eaa748d94335b34f2982fbc3b63ceec78cafaa29ebc9ebaf2bbc"
},
"meta": {
"timestamp": "2026-06-14T17:03:47.377Z",
"request_id": "bc4737b3-bf56-494c-acec-f5a876f0a2e8"
},
"status": "ok",
"message": "Coin metadata retrieved successfully",
"success": true
}