eth_getStorageAt
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[0-9a-f]{0,64}$
3. Block (required)
Block number
(any of)
string
Match pattern:
^0x(0|[1-9a-f][0-9a-f]*)$
Result
(Value)string
Match pattern:
^0x[0-9a-f]*$
Example
Request
await window.ethereum.request({
"method": "eth_getStorageAt",
"params": [
"0xfe3b557e8fb62b89f4916b721be55ceb828dbd73",
"0x0",
"latest"
]
});
Result
"0x0000000000000000000000000000000000000000000000000000000000000000"