eth_getStorageAt - Robinhood
eth_getStorageAt. Returns data stored at a specific slot in the account's storage.
eth_getStorageAt - robinhood [Value: 20CU]
Retrieves the value stored at a specific storage slot of a contract address at a given block
- Retrieve specific storage value from smart contract
- Verify the current state of contract storage
- Audit smart contract storage for data integrity
- Requires a valid smart contract address
- Needs an accurate specific storage slot key
- Depends on the latest blockchain state data
Unlock Access to 100+ chains
Boost your app's speed and reliability with dRPC - get your access API key
Request
Examples
curl https://lb.drpc.live/robinhood/{API-KEY} \
-X POST \
-H "Content-Type: application/json" \
--data '{"method":"eth_getStorageAt","params":["0xE592427A0AEce92De3Edee1F18E0157C05861564", "0x0", "latest"],"id":1,"jsonrpc":"2.0"}'
'Response
200
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x0000000000000000000000000000000000000000000000000000000000000000"
}idinteger
jsonrpcstring
methodstring
array of strings
addressstring
The address of the smart contract.
positionstring
The storage slot position in hexadecimal format.
blockNumberstring
(optional) Block number as an integer, or string
- latest [default] - The most recent block in the blockchain (default).
- earliest - The first block, also known as the genesis block.
- pending - Transactions that have been broadcast but not yet included in a block.
200
object
idinteger
jsonrpcstring
resultstring
The value stored at the specified storage slot, returned as a hexadecimal string.