eth_getStorageAt

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

Request

curl 'https://rpc.web3api.io?x-api-key=YOUR-API-KEY' \
    -X POST \
    -H 'x-amberdata-blockchain-id: ethereum-mainnet' \
    -d '{"jsonrpc":"2.0","id":1,"method":"eth_getStorageAt","params":["0x295a70b2de5e3953354a6a8344e616ed314d7251","0x0","latest"]}'
index
0 - addressThe address of the storage.
1 - positionThe integer of the position in the storage.
2 - blockNumberThe integer block number, or the string "latest", "earliest" or "pending", see the default block parameter

Response

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0x0000000000000000000000000000000000000000000000000000000000000000"
}
FieldDescription
resultThe value at this storage position.