/v1/meta
Service metadata
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/xdc-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/xdc-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/xdc-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/xdc-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": "Enterprise-ready EVM Layer-1 (XDPoS consensus)",
"chain": "XDC Network",
"network": "mainnet",
"chain_id": 50,
"decimals": 18,
"ecosystem": "XDC Network (XinFin) — EVM-compatible L1 for trade finance and tokenisation, native coin XDC",
"endpoints": [
"/v1/status",
"/v1/block",
"/v1/gas",
"/v1/balance",
"/v1/meta"
],
"description": "XDC Network is an enterprise-ready, EVM-compatible Layer-1 using delegated proof-of-stake (XDPoS), focused on trade finance and asset tokenisation, with XDC as its native coin.",
"address_note": "XDC addresses are shown with an 'xdc' prefix; this API accepts both 'xdc...' and '0x...' forms.",
"documentation": "https://api.oanor.com/xdc-api",
"native_symbol": "XDC"
},
"meta": {
"timestamp": "2026-06-15T11:14:31.695Z",
"request_id": "3016ffdd-cdca-4d9b-b5b6-1ca1dcdb29ea"
},
"status": "ok",
"message": "Meta",
"success": true
}