debug_storageRangeAt RPC Method
パラメータ
blockReference
文字列
必須
読み込み中...
txIndex
整数
必須
読み込み中...
住所
文字列
必須
読み込み中...
startKey
文字列
必須
読み込み中...
上限
文字列
必須
読み込み中...
返品
storage
オブジェクト
読み込み中...
ハッシュ
オブジェクト
読み込み中...
キー
文字列
読み込み中...
値
文字列
読み込み中...
nextKey
文字列
読み込み中...
リクエスト
1curl -X POST "https://docs-demo.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "debug_storageRangeAt",6"params": [7"0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",80,9"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5",10"0x0000000000000000000000000000000000000000000000000000000000000000",11"1"12],13"id": 114}'
1curl -X POST "https://docs-demo.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "debug_storageRangeAt",6"params": [7"0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",80,9"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5",10"0x0000000000000000000000000000000000000000000000000000000000000000",11"1"12],13"id": 114}'
1import { ethers } from "ethers";23async 関数 main() {4const provider = new ethers.JsonRpcProvider("https://docs-demo.quiknode.pro/");5const response = await provider.send("debug_storageRangeAt", [6"0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",70,8"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5",9"0x0000000000000000000000000000000000000000000000000000000000000000",10"1"11]);12コンソール.log(レスポンス);13}1415メイン();
1import { ethers } from "ethers";23async 関数 main() {4const provider = new ethers.JsonRpcProvider("https://docs-demo.quiknode.pro/");5const response = await provider.send("debug_storageRangeAt", [6"0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",70,8"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5",9"0x0000000000000000000000000000000000000000000000000000000000000000",10"1"11]);12コンソール.log(レスポンス);13}1415メイン();
1require 'eth'23client = Eth::Client.create 'https://docs-demo.quiknode.pro/'4ペイロード = {5"jsonrpc": "2.0",6"method": "debug_storageRangeAt",7"params": [8"0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",90,10"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5",11"0x0000000000000000000000000000000000000000000000000000000000000000",12"1"13],14"id": "1"15}1617回答 = クライアント.送信(ペイロード.to_json)18レスポンスを格納する
1require 'eth'23client = Eth::Client.create 'https://docs-demo.quiknode.pro/'4ペイロード = {5"jsonrpc": "2.0",6"method": "debug_storageRangeAt",7"params": [8"0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",90,10"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5",11"0x0000000000000000000000000000000000000000000000000000000000000000",12"1"13],14"id": "1"15}1617回答 = クライアント.送信(ペイロード.to_json)18レスポンスを格納する
1出典: web3 import Web3, HTTPProvider2w3 = Web3(HTTPProvider('https://docs-demo.quiknode.pro/'))3response = w3.provider.make_request("debug_storageRangeAt", ["0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",0,"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5","0x0000000000000000000000000000000000000000000000000000000000000000","1"])4印刷(レスポンス)
1出典: web3 import Web3, HTTPProvider2w3 = Web3(HTTPProvider('https://docs-demo.quiknode.pro/'))3response = w3.provider.make_request("debug_storageRangeAt", ["0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",0,"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5","0x0000000000000000000000000000000000000000000000000000000000000000","1"])4印刷(レスポンス)
1import { createPublicClient, http } from 'viem'23async 関数 main() {4const クライアント = createPublicClient({5transport: http('https://docs-demo.quiknode.pro/')6})78const result = await client.リクエスト({9method: 'debug_storageRangeAt',10params: [11"0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",120,13"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5",14"0x0000000000000000000000000000000000000000000000000000000000000000",15"1"16]17})1819コンソール.log(結果)20}2122メイン()
1import { createPublicClient, http } from 'viem'23async 関数 main() {4const クライアント = createPublicClient({5transport: http('https://docs-demo.quiknode.pro/')6})78const result = await client.リクエスト({9method: 'debug_storageRangeAt',10params: [11"0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",120,13"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5",14"0x0000000000000000000000000000000000000000000000000000000000000000",15"1"16]17})1819コンソール.log(結果)20}2122メイン()
1import { Core } from '@quicknode/sdk'23const コア = new Core({4endpointUrl: "https://docs-demo.quiknode.pro/",5})67コア.クライアント8.リクエスト({9method: 'debug_storageRangeAt',10params: ["0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",0,"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5","0x0000000000000000000000000000000000000000000000000000000000000000","1"]11})12.その後(res => console.log(res))
1import { Core } from '@quicknode/sdk'23const コア = new Core({4endpointUrl: "https://docs-demo.quiknode.pro/",5})67コア.クライアント8.リクエスト({9method: 'debug_storageRangeAt',10params: ["0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",0,"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5","0x0000000000000000000000000000000000000000000000000000000000000000","1"]11})12.その後(res => console.log(res))
1const body = {2jsonrpc: '2.0',3method: 'debug_storageRangeAt',4params: ["0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",0,"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5","0x0000000000000000000000000000000000000000000000000000000000000000","1"],5id: 16}78async 関数 main() {9const response = await fetch('https://docs-demo.quiknode.pro/', {10メソッド: 'POST',11headers: {'Content-Type': 'application/json'},12本文: JSON.stringify(body)13})14const データ = await response.json()15コンソール.log(データ)16}1718メイン()
1const body = {2jsonrpc: '2.0',3method: 'debug_storageRangeAt',4params: ["0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",0,"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5","0x0000000000000000000000000000000000000000000000000000000000000000","1"],5id: 16}78async 関数 main() {9const response = await fetch('https://docs-demo.quiknode.pro/', {10メソッド: 'POST',11headers: {'Content-Type': 'application/json'},12本文: JSON.stringify(body)13})14const データ = await response.json()15コンソール.log(データ)16}1718メイン()
1import リクエスト2import json34url = "https://docs-demo.quiknode.pro/"56ペイロード = json.dumps({7"jsonrpc": "2.0",8"method": "debug_storageRangeAt",9"params": [10"0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",110,12"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5",13"0x0000000000000000000000000000000000000000000000000000000000000000",14"1"15],16"id": 117})18ヘッダー = {19「Content-Type」: 'application/json'20}2122回答 = リクエスト.リクエスト("POST", url, headers=headers, データ=ペイロード)2324印刷(レスポンス.text)
1import リクエスト2import json34url = "https://docs-demo.quiknode.pro/"56ペイロード = json.dumps({7"jsonrpc": "2.0",8"method": "debug_storageRangeAt",9"params": [10"0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",110,12"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5",13"0x0000000000000000000000000000000000000000000000000000000000000000",14"1"15],16"id": 117})18ヘッダー = {19「Content-Type」: 'application/json'20}2122回答 = リクエスト.リクエスト("POST", url, headers=headers, データ=ペイロード)2324印刷(レスポンス.text)
1require "uri"2require "json"3require "net/http"45uri = URI("https://docs-demo.quiknode.pro/")67ペイロード = {8jsonrpc: "2.0",9id: 1,10method: "debug_storageRangeAt",11params: ["0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",0,"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5","0x0000000000000000000000000000000000000000000000000000000000000000","1"]12}1314リクエスト = ネット::HTTP::POST.new(URI)15リクエスト["Content-Type"] = "application/json"16リクエスト.本文 = JSON.generate(ペイロード)1718回答 = ネット::HTTP.開始(uri.host, uri.port, use_ssl: true) do |http|19http.リクエスト(リクエスト)20終わり2122レスポンスを格納する。body
1require "uri"2require "json"3require "net/http"45uri = URI("https://docs-demo.quiknode.pro/")67ペイロード = {8jsonrpc: "2.0",9id: 1,10method: "debug_storageRangeAt",11params: ["0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",0,"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5","0x0000000000000000000000000000000000000000000000000000000000000000","1"]12}1314リクエスト = ネット::HTTP::POST.new(URI)15リクエスト["Content-Type"] = "application/json"16リクエスト.本文 = JSON.generate(ペイロード)1718回答 = ネット::HTTP.開始(uri.host, uri.port, use_ssl: true) do |http|19http.リクエスト(リクエスト)20終わり2122レスポンスを格納する。body
回答
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"storage": {},6"nextKey": null7}8}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"storage": {},6"nextKey": null7}8}