요금GitHub대시보드

Ethereum Classic

debug_storageRangeAt100 크레딧

블록 내 트랜잭션 시점의 컨트랙트 스토리지 슬롯 범위를 반환합니다(debug API).

네트워크: etc

매개변수

이름타입설명
blockHashDATA32바이트 블록 해시.
txIndexQUANTITY블록 내 트랜잭션 인덱스.
addressDATA컨트랙트 주소.
startKeyDATA첫 번째 스토리지 키의 해시.
maxResultQUANTITY최대 슬롯 수.

반환값

타입

Object

storage 맵과 nextKey.

코드 예제

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