debug_storageRangeAt RPC Method
This method requires appending
/nanoreth to your HyperLiquid endpoint URL. Debug and Trace methods are not supported on /evm endpoints. Use /nanoreth instead of /evm to access debugging functionality.매개변수
blockHash
문자열
필수
로딩 중...
txIndex
정수
필수
로딩 중...
주소
문자열
필수
로딩 중...
startKey
문자열
필수
로딩 중...
limit
문자열
필수
로딩 중...
반품
결과
객체
로딩 중...
저장
객체
로딩 중...
해시
객체
로딩 중...
키
문자열
로딩 중...
값
문자열
로딩 중...
nextKey
문자열
로딩 중...
요청
1curlmainnet\2-X POST \3-H "Content-Type: application/json" \4--data '{"method":"debug_storageRangeAt","params":["0x54d353c9ebe37c05091f4e063d3f331e48cab4362ab0ff86f05ebea58138bf96",0,"0x3ccC78545F675A188B7521F7f4b4791995752635","0x0000000000000000000000000000000000000000000000000000000000000000",1],"id":1,"jsonrpc":"2.0"}'5
1curlmainnet\2-X POST \3-H "Content-Type: application/json" \4--data '{"method":"debug_storageRangeAt","params":["0x54d353c9ebe37c05091f4e063d3f331e48cab4362ab0ff86f05ebea58138bf96",0,"0x3ccC78545F675A188B7521F7f4b4791995752635","0x0000000000000000000000000000000000000000000000000000000000000000",1],"id":1,"jsonrpc":"2.0"}'5
1필수 'eth'23client = Eth::Client.create 'https://docs-demo.hype-mainnet.quiknode.pro/evm'4페이로드 = {5"jsonrpc": "2.0",6"method": "debug_storageRangeAt",7"params": ["0x54d353c9ebe37c05091f4e063d3f331e48cab4362ab0ff86f05ebea58138bf96",0,"0x3ccC78545F675A188B7521F7f4b4791995752635","0x0000000000000000000000000000000000000000000000000000000000000000",1],8"id": "1"9}1011답변 = 클라이언트.전송(페이로드.to_json)12응답을 반환합니다
1필수 'eth'23client = Eth::Client.create 'https://docs-demo.hype-mainnet.quiknode.pro/evm'4페이로드 = {5"jsonrpc": "2.0",6"method": "debug_storageRangeAt",7"params": ["0x54d353c9ebe37c05091f4e063d3f331e48cab4362ab0ff86f05ebea58138bf96",0,"0x3ccC78545F675A188B7521F7f4b4791995752635","0x0000000000000000000000000000000000000000000000000000000000000000",1],8"id": "1"9}1011답변 = 클라이언트.전송(페이로드.to_json)12응답을 반환합니다
1import { ethers } from "ethers";2(async () => {3const provider = new ethers.JsonRpcProvider("https://docs-demo.hype-mainnet.quiknode.pro/evm");4const response = await provider.send("debug_storageRangeAt", [5"0x54d353c9ebe37c05091f4e063d3f331e48cab4362ab0ff86f05ebea58138bf96",60,7"0x3ccC78545F675A188B7521F7f4b4791995752635",8"0x0000000000000000000000000000000000000000000000000000000000000000",91,10]);11콘솔.log(응답);12})();
1import { ethers } from "ethers";2(async () => {3const provider = new ethers.JsonRpcProvider("https://docs-demo.hype-mainnet.quiknode.pro/evm");4const response = await provider.send("debug_storageRangeAt", [5"0x54d353c9ebe37c05091f4e063d3f331e48cab4362ab0ff86f05ebea58138bf96",60,7"0x3ccC78545F675A188B7521F7f4b4791995752635",8"0x0000000000000000000000000000000000000000000000000000000000000000",91,10]);11콘솔.log(응답);12})();
1var myHeaders = new Headers();2myHeaders.추가("Content-Type", "application/json");34var raw = JSON.stringify({5"method": "debug_storageRangeAt",6"params": ["0x54d353c9ebe37c05091f4e063d3f331e48cab4362ab0ff86f05ebea58138bf96",0,"0x3ccC78545F675A188B7521F7f4b4791995752635","0x0000000000000000000000000000000000000000000000000000000000000000",1],7"id": 1,8"jsonrpc": "2.0"9});1011var requestOptions = {12메서드: 'POST',13헤더: myHeaders,14본문: raw,15리디렉션: 'follow'16};1718가져오기("mainnet", requestOptions)19.그런 다음(응답 => 응답.text())20.그런 다음(결과 => console.log(result))21.catchcatch (오류 => console.log('error', error));
1var myHeaders = new Headers();2myHeaders.추가("Content-Type", "application/json");34var raw = JSON.stringify({5"method": "debug_storageRangeAt",6"params": ["0x54d353c9ebe37c05091f4e063d3f331e48cab4362ab0ff86f05ebea58138bf96",0,"0x3ccC78545F675A188B7521F7f4b4791995752635","0x0000000000000000000000000000000000000000000000000000000000000000",1],7"id": 1,8"jsonrpc": "2.0"9});1011var requestOptions = {12메서드: 'POST',13헤더: myHeaders,14본문: raw,15리디렉션: 'follow'16};1718가져오기("mainnet", requestOptions)19.그런 다음(응답 => 응답.text())20.그런 다음(결과 => console.log(result))21.catchcatch (오류 => console.log('error', error));
1import 요청2import json34url = "mainnet"56페이로드 = json.dumps({7"method": "debug_storageRangeAt",8"params": ["0x54d353c9ebe37c05091f4e063d3f331e48cab4362ab0ff86f05ebea58138bf96",0,"0x3ccC78545F675A188B7521F7f4b4791995752635","0x0000000000000000000000000000000000000000000000000000000000000000",1],9"id": 1,10"jsonrpc": "2.0"11})12헤더 = {13'Content-Type': 'application/json'14}1516답변 = 요청.요청("POST", url, 헤더=헤더, 데이터=페이로드)1718인쇄(응답.text)19
1import 요청2import json34url = "mainnet"56페이로드 = json.dumps({7"method": "debug_storageRangeAt",8"params": ["0x54d353c9ebe37c05091f4e063d3f331e48cab4362ab0ff86f05ebea58138bf96",0,"0x3ccC78545F675A188B7521F7f4b4791995752635","0x0000000000000000000000000000000000000000000000000000000000000000",1],9"id": 1,10"jsonrpc": "2.0"11})12헤더 = {13'Content-Type': 'application/json'14}1516답변 = 요청.요청("POST", url, 헤더=헤더, 데이터=페이로드)1718인쇄(응답.text)19
1require "uri"2require "json"3require "net/http"45url = URI("mainnet")67http = Net::HTTP.new(url.호스트, url.포트);8요청 = 순::HTTP::POST.새(URL)9요청["Content-Type"] = "application/json"10요청.본문 = JSON.dump({11"method": "debug_storageRangeAt",12"params": ["0x54d353c9ebe37c05091f4e063d3f331e48cab4362ab0ff86f05ebea58138bf96",0,"0x3ccC78545F675A188B7521F7f4b4791995752635","0x0000000000000000000000000000000000000000000000000000000000000000",1],13"id": 1,14"jsonrpc": "2.0"15})1617답변 = http.요청(요청)18응답을 반환합니다.read_body19
1require "uri"2require "json"3require "net/http"45url = URI("mainnet")67http = Net::HTTP.new(url.호스트, url.포트);8요청 = 순::HTTP::POST.새(URL)9요청["Content-Type"] = "application/json"10요청.본문 = JSON.dump({11"method": "debug_storageRangeAt",12"params": ["0x54d353c9ebe37c05091f4e063d3f331e48cab4362ab0ff86f05ebea58138bf96",0,"0x3ccC78545F675A188B7521F7f4b4791995752635","0x0000000000000000000000000000000000000000000000000000000000000000",1],13"id": 1,14"jsonrpc": "2.0"15})1617답변 = http.요청(요청)18응답을 반환합니다.read_body19
1출처: web3 import Web3, HTTPProvider2provider = Web3.HTTPProvider("https://docs-demo.hype-mainnet.quiknode.pro/evm")3result = provider.make_request('debug_storageRangeAt', ["0x54d353c9ebe37c05091f4e063d3f331e48cab4362ab0ff86f05ebea58138bf96",0,"0x3ccC78545F675A188B7521F7f4b4791995752635","0x0000000000000000000000000000000000000000000000000000000000000000",1])4인쇄(결과)
1출처: web3 import Web3, HTTPProvider2provider = Web3.HTTPProvider("https://docs-demo.hype-mainnet.quiknode.pro/evm")3result = provider.make_request('debug_storageRangeAt', ["0x54d353c9ebe37c05091f4e063d3f331e48cab4362ab0ff86f05ebea58138bf96",0,"0x3ccC78545F675A188B7521F7f4b4791995752635","0x0000000000000000000000000000000000000000000000000000000000000000",1])4인쇄(결과)