eth_getStorageAt (BSC)
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://bsc.api.watchdata.io/node/jsonrpc?api_key=your_api_key
-X POST \
-d '{"jsonrpc":"2.0", "method": "eth_getStorageAt", "params": ["0x0000000000000000000000000000000000001000", "0x0", "latest"], "id": 1}'URL: https://bsc.api.watchdata.io/node/jsonrpc?api_key=your_api_key
RequestType: POST
Body:
{
"jsonrpc":"2.0",
"method":"eth_getStorageAt",
"params":["0x0000000000000000000000000000000000001000", "0x0", "latest"],
"id":1
}Last updated