you_getStorageAt

描述:返回指定地址存储位置的值。

parameter

数据类型 备注
String , 20 字节 存储地址
String 存储中的位置号
String 整数块号,或字符串"latest"、"earliest" 或"pending"
params: ['0xA6FB67336FA6678e63b82700eba6b6275B01B6DD','latest']

return

数据类型 备注
String 指定存储位置的值

example

Request:

curl -X POST \
  http://127.0.0.1:8283 \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "you_getStorageAt", "params": ["0xcF9F5007AA1A9ae7b8092DBE3E12B3B97fD5b18D","0x0","0x252e"]}'

Response:

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0x000000000000000000000000000000000000000000000001bc16d674ec800000"
}