我想用ethers.js检查一个私有状态变量。web3.eth.getStorageAt的等价物是什么?
web3.eth.getStorageAt
发布于 2021-12-14 18:17:06
它也是getStorageAt,您可以找到这里文档。它在ethers.js中公开为提供程序方法,因此在以下代码行中:
await provider.getStorageAt(address, slot);
https://ethereum.stackexchange.com/questions/115601
相似问题