eth_getStorageAt RPC Method
MegaETH nodes use a ~15-day pruning window for historical state data. Querying storage at a block older than ~15 days (1,296,064 blocks) may fail because the required storage history has been pruned. For more details, see the MegaETH Pruning Policy.
Parameters
address
string
REQUIRED
Loading...
position
string
REQUIRED
Loading...
blockNumber
string
REQUIRED
Loading...
Returns
result
string
Loading...
Request
1curl -X POST "https://docs-demo.megaeth-mainnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "eth_getStorageAt",6"params": [7"0xE592427A0AEce92De3Edee1F18E0157C05861564",8"0x0",9"latest"10],11"id": 112}'
1curl -X POST "https://docs-demo.megaeth-mainnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "eth_getStorageAt",6"params": [7"0xE592427A0AEce92De3Edee1F18E0157C05861564",8"0x0",9"latest"10],11"id": 112}'
Response
1{2"jsonrpc": "2.0",3"result": "0x0000000000000000000000000000000000000000000000000000000000000000",4"id": 15}
1{2"jsonrpc": "2.0",3"result": "0x0000000000000000000000000000000000000000000000000000000000000000",4"id": 15}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free