Skip to main content

eth_getStorageAt

Ethereum API

Returns the value from a storage position at a given address.

Params

(3)

1. Address (required)

string
Match pattern:
^0x[0-9a-fA-F]{40}$

2. Storage slot (required)

string
Match pattern:
^0x([1-9a-f]+[0-9a-f]{0,31})|0$

3. Block (required)

(any of)
string
Match pattern:
^0x([1-9a-f]+[0-9a-f]*|0)$

Result

(Value)
string
Match pattern:
^0x[0-9a-f]*$

Params

Address

Storage slot

Block


Request

await window.ethereum.request({
"method": "eth_getStorageAt",
"params": [
null,
null,
null
]
});