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
字串
必填
載入中...
上限
字串
必填
載入中...
退貨
結果
物件
載入中...
storage
物件
載入中...
hash
物件
載入中...
關鍵字
字串
載入中...
值
字串
載入中...
nextKey
字串
載入中...
請求
1curl https://docs-demo.hype-mainnet.quiknode.pro/evm \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
1curl https://docs-demo.hype-mainnet.quiknode.pro/evm \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]);11console.log(response);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]);11console.log(response);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正文: 原始,15redirect: 'follow'16};1718fetch("https://docs-demo.hype-mainnet.quiknode.pro/evm", requestOptions)19.then(response => response.text())20.then(result => console.log(result))21.catch(error => 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正文: 原始,15redirect: 'follow'16};1718fetch("https://docs-demo.hype-mainnet.quiknode.pro/evm", requestOptions)19.then(response => response.text())20.then(result => console.log(result))21.catch(error => console.log('error', error));
1匯入 請求2import json34url = "https://docs-demo.hype-mainnet.quiknode.pro/evm"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, headers=headers, data=有效載荷)1718列印(回應.text)19
1匯入 請求2import json34url = "https://docs-demo.hype-mainnet.quiknode.pro/evm"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, headers=headers, data=有效載荷)1718列印(回應.text)19
1需要 "uri"2require "json"3需要 "net/http"45url = URI("https://docs-demo.hype-mainnet.quiknode.pro/evm")67http = Net::HTTP.new(url.host, url.port);8請求 = 淨::HTTP::POST.new(網址)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需要 "uri"2require "json"3需要 "net/http"45url = URI("https://docs-demo.hype-mainnet.quiknode.pro/evm")67http = Net::HTTP.new(url.host, url.port);8請求 = 淨::HTTP::POST.new(網址)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])4print(result)
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])4print(result)