Aller au contenu
GET /v1/interfaces

Known ERC-165 interface ids and ERC-20 selectors checked

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/ercdetector-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/ercdetector-api/v1/interfaces" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ercdetector-api/v1/interfaces", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ercdetector-api/v1/interfaces");
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/ercdetector-api/v1/interfaces",
    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": {
        "note": "Known ERC-165 interface ids checked by /v1/detect, plus the ERC-20 function selectors probed.",
        "count": 9,
        "source": "static reference",
        "interfaces": [
            {
                "name": "ERC-165",
                "interface_id": "0x01ffc9a7"
            },
            {
                "name": "ERC-721",
                "interface_id": "0x80ac58cd"
            },
            {
                "name": "ERC-721 Metadata",
                "interface_id": "0x5b5e139f"
            },
            {
                "name": "ERC-721 Enumerable",
                "interface_id": "0x780e9d63"
            },
            {
                "name": "ERC-721 Receiver",
                "interface_id": "0x150b7a02"
            },
            {
                "name": "ERC-4906 (Metadata Update)",
                "interface_id": "0x49064906"
            },
            {
                "name": "ERC-1155",
                "interface_id": "0xd9b67a26"
            },
            {
                "name": "ERC-1155 Metadata URI",
                "interface_id": "0x0e89341c"
            },
            {
                "name": "ERC-2981 (Royalties)",
                "interface_id": "0x2a55205a"
            }
        ],
        "erc20_selectors": {
            "name": "0x06fdde03",
            "symbol": "0x95d89b41",
            "decimals": "0x313ce567",
            "totalSupply": "0x18160ddd"
        }
    },
    "meta": {
        "timestamp": "2026-06-14T08:04:10.980Z",
        "request_id": "9cf46238-4cbf-4eac-8924-312189b24d09"
    },
    "status": "ok",
    "message": "Known interfaces retrieved successfully",
    "success": true
}