Zum Inhalt springen
GET /v1/token

A native token's id, name, decimals, emission and description

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/ergo-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/ergo-api/v1/token" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ergo-api/v1/token", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ergo-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/ergo-api/v1/token",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "name": "SigUSD",
        "type": "EIP-004",
        "box_id": "a49076f75e8446fec018d5d32cddf6e05575ef1273232e680f4cd5d716f4e78b",
        "source": "Ergo Platform",
        "decimals": 2,
        "token_id": "03faf2cb329f2e90d6d23b58d91bbb6c046aa143261cc21f52fbe2824bfcbf04",
        "description": "SigmaUSD - V2",
        "emission_amount": 10000000000001
    },
    "meta": {
        "timestamp": "2026-06-10T22:58:52.922Z",
        "request_id": "df9afe76-2183-40a6-ae6c-0e59cd5164a2"
    },
    "status": "ok",
    "message": "Token retrieved successfully",
    "success": true
}