Aller au contenu
GET /v1/meta

Chain metadata

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/sophon-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "type": "zkSync-stack ZK rollup (Ethereum L2)",
        "chain": "Sophon",
        "network": "mainnet",
        "chain_id": 50104,
        "decimals": 18,
        "ecosystem": "Sophon — a ZK Layer-2 built on the zkSync Elastic Chain stack, focused on consumer/entertainment apps; gas is paid in the native SOPH token.",
        "endpoints": [
            "/v1/status",
            "/v1/block",
            "/v1/gas",
            "/v1/balance",
            "/v1/meta"
        ],
        "documentation": "https://api.oanor.com/sophon-api",
        "native_symbol": "SOPH"
    },
    "meta": {
        "timestamp": "2026-06-15T20:40:30.115Z",
        "request_id": "59a411ae-53c8-4dd1-8253-4c863c1871cd"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}