eth_getStorageAt - Polygon
Returns the value from a storage position at a given address.
contract Storage {
uint pos0;
mapping(address => uint) pos1;
function Storage() {
pos0 = 1234;
pos1[msg.sender] = 5678;
}
}curl https://polygon.api.watchdata.io/node/jsonrpc?api_key=your_api_key
-X POST \
-d '{"jsonrpc":"2.0", "method": "eth_getStorageAt", "params": ["0xa53d90b608c930cb8cdff22048dc942708c4f263", "0x0", "latest"], "id": 1}'URL: https://polygon.api.watchdata.io/node/jsonrpc?api_key=your_api_key
RequestType: POST
Body:
{{
"jsonrpc":"2.0",
"method":"eth_getStorageAt",
"params":["0xa53d90b608c930cb8cdff22048dc942708c4f263", "0x0", "latest"],
"id":1
}Last updated