Vai al contenuto
GET /v1/meta

Service metadata & live sample

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/ethsignatures-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "function takes hex = a 4-byte selector (0x + 8 hex). event takes hex = a 32-byte topic (0x + 64 hex). search takes text (e.g. transfer) and optional limit (1-100). Many selectors have hash collisions; most_likely (lowest id) is the original signature.",
        "sample": {
            "most_likely": "transfer(address,uint256)",
            "hex_signature": "0xa9059cbb"
        },
        "source": "4byte.directory open API (www.4byte.directory/api/v1), live",
        "service": "ethsignatures-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/event": "Decode a 32-byte event topic to its event signature (hex=0xddf252ad...).",
            "GET /v1/search": "Search signatures by text and get their selectors (text=transfer).",
            "GET /v1/function": "Decode a 4-byte function selector to its signature(s) (hex=0xa9059cbb)."
        },
        "description": "Decode Ethereum smart-contract function and event signatures, keyless. Turn a 4-byte function selector (first 4 bytes of any transaction's calldata, e.g. 0xa9059cbb) into its human-readable signature (transfer(address,uint256)), decode a 32-byte event topic from a log, or search the database by name. Essential for transaction decoders, block explorers, wallets, security tools and on-chain analytics. Live, nothing stored beyond a short cache. The signature-decoding layer for any EVM tooling.",
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-14T08:04:19.444Z",
        "request_id": "e9194766-7301-42f2-84e8-96d9ba276790"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}