文档
定价GitHub控制台

Hyperliquid

debug_storageRangeAt100 额度

返回合约在区块内某笔交易时刻的一段存储槽位(debug API)。

网络: hyperliquid

参数

名称类型描述
blockHashDATA32 字节的区块哈希。
txIndexQUANTITY交易在区块中的索引。
addressDATA合约地址。
startKeyDATA第一个存储键的哈希。
maxResultQUANTITY槽位的最大数量。

返回值

类型

Object

storage 映射和 nextKey。

代码示例

curl https://holy-burned-sky-hyperliquid-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7 \
  -X POST \
  -H 'content-type: application/json' \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "debug_storageRangeAt",
  "params": [
    "0x0000000000000000000000000000000000000000000000000000000000000000",
    0,
    "0x0000000000000000000000000000000000000000",
    "0x0000000000000000000000000000000000000000000000000000000000000000",
    1
  ]
}'