Skip to main content

eth_getStorageAt

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

Parameters

Address(string)required

hex encoded address

Storage slot(string)required

hex encoded 256 bit unsigned integer

Block(object)required

Block number, tag, or block hash

Returns

hex encoded bytes

Example request
await provider.request({
method: 'eth_getStorageAt',
params: ['0xfe3b557e8fb62b89f4916b721be55ceb828dbd73', '0x0', 'latest'],
})
Example response
{
"id": 1,
"jsonrpc": "2.0",
"result": "0x0000000000000000000000000000000000000000000000000000000000000000"
}