debug_storageRangeAt RPC Method
매개변수
blockHash
문자열
필수
로딩 중...
txIndex
정수
필수
로딩 중...
주소
문자열
필수
로딩 중...
startKey
문자열
필수
로딩 중...
한도
문자열
필수
로딩 중...
반품
결과
객체
로딩 중...
storage
객체
로딩 중...
해시
객체
로딩 중...
키
문자열
로딩 중...
값
문자열
로딩 중...
nextKey
문자열
로딩 중...
요청
1curl https://docs-demo.kaia-kairos.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{"method":"debug_storageRangeAt","params":["0x9950b0c073d8690447b4e00e6e4ce2afa4cb154ae9bf8b47514def75564307af",0,"0x4200000000000000000000000000000000000015","0x0000000000000000000000000000000000000000000000000000000000000000",1],"id":1,"jsonrpc":"2.0"}'
1curl https://docs-demo.kaia-kairos.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{"method":"debug_storageRangeAt","params":["0x9950b0c073d8690447b4e00e6e4ce2afa4cb154ae9bf8b47514def75564307af",0,"0x4200000000000000000000000000000000000015","0x0000000000000000000000000000000000000000000000000000000000000000",1],"id":1,"jsonrpc":"2.0"}'
1필수 'eth'23client = Eth::Client.create 'https://docs-demo.kaia-kairos.quiknode.pro/'4페이로드 = {5"jsonrpc": "2.0",6"method": "debug_storageRangeAt",7"params": ["0x9950b0c073d8690447b4e00e6e4ce2afa4cb154ae9bf8b47514def75564307af",0,"0x4200000000000000000000000000000000000015","0x0000000000000000000000000000000000000000000000000000000000000000",1],8"id": "1"9}1011답변 = 클라이언트.전송(페이로드.to_json)12응답을 반환합니다
1필수 'eth'23client = Eth::Client.create 'https://docs-demo.kaia-kairos.quiknode.pro/'4페이로드 = {5"jsonrpc": "2.0",6"method": "debug_storageRangeAt",7"params": ["0x9950b0c073d8690447b4e00e6e4ce2afa4cb154ae9bf8b47514def75564307af",0,"0x4200000000000000000000000000000000000015","0x0000000000000000000000000000000000000000000000000000000000000000",1],8"id": "1"9}1011답변 = 클라이언트.전송(페이로드.to_json)12응답을 반환합니다
1import { ethers } from "ethers";2(async () => {3const provider = new ethers.JsonRpcProvider("https://docs-demo.kaia-kairos.quiknode.pro/");4const response = await provider.send("debug_storageRangeAt", [5"0x9950b0c073d8690447b4e00e6e4ce2afa4cb154ae9bf8b47514def75564307af",60,7"0xAE2C118B218249CAD29406fE0C4AD76eFfb2869E",8"0x0000000000000000000000000000000000000000000000000000000000000000",91,10]);11콘솔.log(응답);12})();
1import { ethers } from "ethers";2(async () => {3const provider = new ethers.JsonRpcProvider("https://docs-demo.kaia-kairos.quiknode.pro/");4const response = await provider.send("debug_storageRangeAt", [5"0x9950b0c073d8690447b4e00e6e4ce2afa4cb154ae9bf8b47514def75564307af",60,7"0xAE2C118B218249CAD29406fE0C4AD76eFfb2869E",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": ["0x9950b0c073d8690447b4e00e6e4ce2afa4cb154ae9bf8b47514def75564307af",0,"0x4200000000000000000000000000000000000015","0x0000000000000000000000000000000000000000000000000000000000000000",1],7"id": 1,8"jsonrpc": "2.0"9});1011var requestOptions = {12메서드: 'POST',13헤더: myHeaders,14본문: raw,15리디렉션: 'follow'16};1718fetch("https://docs-demo.kaia-kairos.quiknode.pro/", requestOptions)19.그런 다음(응답 => response.text())20.그런 다음(결과 => console.log(result))21.catch(오류 => console.log('error', error));
1var myHeaders = new Headers();2myHeaders.추가("Content-Type", "application/json");34var raw = JSON.stringify({5"method": "debug_storageRangeAt",6"params": ["0x9950b0c073d8690447b4e00e6e4ce2afa4cb154ae9bf8b47514def75564307af",0,"0x4200000000000000000000000000000000000015","0x0000000000000000000000000000000000000000000000000000000000000000",1],7"id": 1,8"jsonrpc": "2.0"9});1011var requestOptions = {12메서드: 'POST',13헤더: myHeaders,14본문: raw,15리디렉션: 'follow'16};1718fetch("https://docs-demo.kaia-kairos.quiknode.pro/", requestOptions)19.그런 다음(응답 => response.text())20.그런 다음(결과 => console.log(result))21.catch(오류 => console.log('error', error));
1import 요청2import json34url = "https://docs-demo.kaia-kairos.quiknode.pro/"56페이로드 = json.dumps({7"method": "debug_storageRangeAt",8"params": ["0x9950b0c073d8690447b4e00e6e4ce2afa4cb154ae9bf8b47514def75564307af",0,"0x4200000000000000000000000000000000000015","0x0000000000000000000000000000000000000000000000000000000000000000",1],9"id": 1,10"jsonrpc": "2.0"11})12헤더 = {13'Content-Type': 'application/json'14}1516답변 = 요청.요청("POST", url, 헤더=헤더, data=페이로드)1718인쇄(응답.text)19
1import 요청2import json34url = "https://docs-demo.kaia-kairos.quiknode.pro/"56페이로드 = json.dumps({7"method": "debug_storageRangeAt",8"params": ["0x9950b0c073d8690447b4e00e6e4ce2afa4cb154ae9bf8b47514def75564307af",0,"0x4200000000000000000000000000000000000015","0x0000000000000000000000000000000000000000000000000000000000000000",1],9"id": 1,10"jsonrpc": "2.0"11})12헤더 = {13'Content-Type': 'application/json'14}1516답변 = 요청.요청("POST", url, 헤더=헤더, data=페이로드)1718인쇄(응답.text)19
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.kaia-kairos.quiknode.pro/")67http = Net::HTTP.new(url.호스트, url.포트);8요청 = 순::HTTP::POST.새(URL)9요청["Content-Type"] = "application/json"10요청.본문 = JSON.dump({11"method": "debug_storageRangeAt",12"params": ["0x9950b0c073d8690447b4e00e6e4ce2afa4cb154ae9bf8b47514def75564307af",0,"0x4200000000000000000000000000000000000015","0x0000000000000000000000000000000000000000000000000000000000000000",1],13"id": 1,14"jsonrpc": "2.0"15})1617답변 = http.요청(요청)18응답을 넣습니다.read_body19
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.kaia-kairos.quiknode.pro/")67http = Net::HTTP.new(url.호스트, url.포트);8요청 = 순::HTTP::POST.새(URL)9요청["Content-Type"] = "application/json"10요청.본문 = JSON.dump({11"method": "debug_storageRangeAt",12"params": ["0x9950b0c073d8690447b4e00e6e4ce2afa4cb154ae9bf8b47514def75564307af",0,"0x4200000000000000000000000000000000000015","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.kaia-kairos.quiknode.pro/")3result = provider.make_request('debug_storageRangeAt', ["0x9950b0c073d8690447b4e00e6e4ce2afa4cb154ae9bf8b47514def75564307af",0,"0x4200000000000000000000000000000000000015","0x0000000000000000000000000000000000000000000000000000000000000000",1])4print(result)
1출처: web3 import Web3, HTTPProvider2provider = Web3.HTTPProvider("https://docs-demo.kaia-kairos.quiknode.pro/")3result = provider.make_request('debug_storageRangeAt', ["0x9950b0c073d8690447b4e00e6e4ce2afa4cb154ae9bf8b47514def75564307af",0,"0x4200000000000000000000000000000000000015","0x0000000000000000000000000000000000000000000000000000000000000000",1])4print(result)