get_storage
方法定义
def get_storage(self, address: ChecksumAddress, slot_index: int) -> Optional[HexBytes]参数说明
参数
类型
说明
返回值
类型
说明
示例代码
# 获取存储值
storage = chain.get_storage("0x...", 0)
if storage:
print(f"Storage Value: {storage.hex()}")最后更新于