Returns the value from a storage position at a given address.
const response = await fetch('https://api.1inch.com/web3/100', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Authorization: `Bearer ${API_KEY}`,
},
body: JSON.stringify({
jsonrpc: '2.0',
method: 'eth_getStorageAt',
params: ['string', 'string', 'string'],
id: 1,
}),
});
const data = await response.json();
console.log(data);
"0x0000000000000000000000000000000000000000000000000000000000000000"