hard-driveeth_getStorageAt

Returns the value at a given storage position for an address. On Seismic, this method returns zero for shielded (private) storage slots — as if the slot were uninitialized.

This is a deliberate security measure — shielded storage values are flagged with is_private = true in the state trie. Rather than exposing the encrypted value or returning an error, the node returns the same response as an empty slot.

Parameters

Index
Type
Description

1

string

Address of the contract

2

string

Storage slot position (hex)

3

string

Block number ("latest", "earliest", "pending", or hex block number)

Returns

Field
Type
Description

result

hex string (32 bytes)

Storage value (only for public slots)

Example Request

curl -X POST https://gcp-1.seismictest.net/rpc \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "eth_getStorageAt",
    "params": [
      "0x1234567890abcdef1234567890abcdef12345678",
      "0x0",
      "latest"
    ],
    "id": 1
  }'

Example Response (Public Slot)

Example Response (Shielded Slot)

circle-exclamation

eth_getFlaggedStorageAt (sanvil only)

In seismic-foundryarrow-up-right's local development node (sanvil), an additional method eth_getFlaggedStorageAt is available. It takes the same parameters as eth_getStorageAt but returns a FlaggedStorage object containing both the actual value and whether the slot is private:

This is useful for debugging and testing — you can inspect shielded slot values and confirm their privacy flag. This method does not exist in seismic-reth — production nodes must never expose private storage values over RPC.

Last updated