更新时间:2023-10-16 GMT+08:00
        
          
          
        
      
      
      
      
      
      
      
      
  
      
      
      
        
eth_getStorageAt
简介
返回给定地址的存储位置的值。该API所消耗的计算单元为18。
参数说明
| 参数 | 类型 | 说明 | 
|---|---|---|
| 地址 | String | 表示存储地址(20 字节)的字符串。 | 
| 存储位置 | String | 存储位置的十六进制代码。 | 
| 区块编号 | String | 想要查询的区块的十六进制的编号,或者是字符串 "earliest"、"latest"、"pending"。 | 
返回值
所提供存储位置的值。
请求样式
curl https://your-http-endpoint/v1/<API-KEY> \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"eth_getStorageAt","params": ["0x295a70b2de5e3953354a6a8344e616ed314d7251", "0x6661e9d6d8b923d5bbaab1b96e1dd51ff6ea2a93520fdc9eb75d059238b8c5e9", "0x65a8db"],"id":1}'
  
    