요금GitHub대시보드

Avalanche

debug_storageRangeAt100 크레딧

Returns a range of storage slots of a contract as of a transaction inside a block (debug API).

네트워크: avax

매개변수

이름타입설명
blockHashDATA32-byte block hash.
txIndexQUANTITYTransaction index in the block.
addressDATAContract address.
startKeyDATAHash of the first storage key.
maxResultQUANTITYMaximum number of slots.

반환값

타입

Object

storage map and nextKey.

코드 예제

curl https://holy-burned-sky-avax-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
  ]
}'