Zum Inhalt springen
GET /v1/chains

List supported chains and aliases

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "count": 7,
        "chains": [
            {
                "key": "ethereum",
                "name": "Ethereum",
                "native": "ETH",
                "fee_type": "eip1559"
            },
            {
                "key": "polygon",
                "name": "Polygon",
                "native": "POL",
                "fee_type": "eip1559"
            },
            {
                "key": "bsc",
                "name": "BNB Smart Chain",
                "native": "BNB",
                "fee_type": "legacy"
            },
            {
                "key": "arbitrum",
                "name": "Arbitrum One",
                "native": "ETH",
                "fee_type": "eip1559"
            },
            {
                "key": "optimism",
                "name": "Optimism",
                "native": "ETH",
                "fee_type": "eip1559"
            },
            {
                "key": "base",
                "name": "Base",
                "native": "ETH",
                "fee_type": "eip1559"
            },
            {
                "key": "avalanche",
                "name": "Avalanche C-Chain",
                "native": "AVAX",
                "fee_type": "eip1559"
            }
        ],
        "aliases": {
            "op": "optimism",
            "arb": "arbitrum",
            "bnb": "bsc",
            "eth": "ethereum",
            "pol": "polygon",
            "avax": "avalanche",
            "matic": "polygon",
            "binance": "bsc",
            "avalanche_c": "avalanche",
            "arbitrum_one": "arbitrum"
        }
    },
    "meta": {
        "timestamp": "2026-06-09T03:02:39.050Z",
        "request_id": "b9024aac-0866-47db-8544-47d1b024f179"
    },
    "status": "ok",
    "message": "Chains retrieved successfully",
    "success": true
}