Vai al contenuto
GET /v1/slot

Read & decode one storage slot

Provalo dal vivo

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

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

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

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

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

{
    "data": {
        "note": "The 32-byte word stored at this slot, decoded as address (if top 12 bytes are zero), uint and bool. Reads live via eth_getStorageAt.",
        "slot": "0x0",
        "chain": "ethereum",
        "value": {
            "raw": "0x000000000000000000000000fcb19e6a322b27c06842a71e8c725399f049ae3a",
            "as_bool": null,
            "as_uint": "1442626706025541066953462928744535818996053290554",
            "is_zero": false,
            "as_address": "0xfcb19e6a322b27c06842a71e8c725399f049ae3a"
        },
        "source": "public JSON-RPC (publicnode)",
        "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
    },
    "meta": {
        "timestamp": "2026-06-14T08:04:11.932Z",
        "request_id": "69d72e7c-4231-4f16-9983-8a707c14660b"
    },
    "status": "ok",
    "message": "Storage slot retrieved successfully",
    "success": true
}