I want to check a private state variable with ethers.js. What is the equivalent for web3.eth.getStorageAt
?
2 Answers
It's also getStorageAt you can find the doc here. It's exposed as a provider method in ethers.js so something in the line of :
await provider.getStorageAt(address, slot);