/v1/selectors
4-byte function selectors from the contract dispatcher
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/bytecode-api/v1/selectors" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bytecode-api/v1/selectors", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bytecode-api/v1/selectors");
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/bytecode-api/v1/selectors",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"note": "4-byte function selectors extracted from the contract dispatcher (DUP1 PUSH4 <sel> EQ pattern). Resolve names via a 4-byte signature directory. Proxies and unusual dispatchers may expose fewer.",
"chain": "ethereum",
"count": 5,
"source": "public JSON-RPC (publicnode) + local EVM decode",
"address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"selectors": [
"0x3659cfe6",
"0x4f1ef286",
"0x5c60da1b",
"0x8f283970",
"0xf851a440"
]
},
"meta": {
"timestamp": "2026-06-14T08:04:12.384Z",
"request_id": "48e98237-2950-467f-8547-bf06ae8672e5"
},
"status": "ok",
"message": "Selectors retrieved successfully",
"success": true
}