debug_storageRangeAt RPC Method
Parâmetros
blockHash
cadeia de caracteres
OBRIGATÓRIO
Carregando...
txIndex
número inteiro
OBRIGATÓRIO
Carregando...
morada
cadeia de caracteres
OBRIGATÓRIO
Carregando...
startKey
cadeia de caracteres
OBRIGATÓRIO
Carregando...
limit
cadeia de caracteres
OBRIGATÓRIO
Carregando...
Devoluções
storage
Carregando...
hash
objeto
Carregando...
key
Carregando...
valor
Carregando...
nextKey
Carregando...
Pedido
1curl -X POST "https://docs-demo.matic.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.matic.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 função main() {4const provider = new ethers.JsonRpcProvider("https://docs-demo.matic.quiknode.pro/");5const response = await provider.send("debug_storageRangeAt", [6"0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",70,8"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5",9"0x0000000000000000000000000000000000000000000000000000000000000000",10"1"11]);12consola.registo(resposta);13}1415principal();
1import { ethers } from "ethers";23async função main() {4const provider = new ethers.JsonRpcProvider("https://docs-demo.matic.quiknode.pro/");5const response = await provider.send("debug_storageRangeAt", [6"0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",70,8"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5",9"0x0000000000000000000000000000000000000000000000000000000000000000",10"1"11]);12consola.registo(resposta);13}1415principal();
1de web3 import Web3, HTTPProvider2w3 = Web3(HTTPProvider('https://docs-demo.matic.quiknode.pro/'))3response = w3.provider.make_request("debug_storageRangeAt", ["0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",0,"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5","0x0000000000000000000000000000000000000000000000000000000000000000","1"])4imprimir(resposta)
1de web3 import Web3, HTTPProvider2w3 = Web3(HTTPProvider('https://docs-demo.matic.quiknode.pro/'))3response = w3.provider.make_request("debug_storageRangeAt", ["0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",0,"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5","0x0000000000000000000000000000000000000000000000000000000000000000","1"])4imprimir(resposta)
1importar { createPublicClient, http } de 'viem'23async função main() {4const cliente = createPublicClient({5transport: http('https://docs-demo.matic.quiknode.pro/')6})78const resultado = await cliente.pedido({9method: 'debug_storageRangeAt',10parâmetros: [11"0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",120,13"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5",14"0x0000000000000000000000000000000000000000000000000000000000000000",15"1"16]17})1819consola.registo(resultado)20}2122principal()
1importar { createPublicClient, http } de 'viem'23async função main() {4const cliente = createPublicClient({5transport: http('https://docs-demo.matic.quiknode.pro/')6})78const resultado = await cliente.pedido({9method: 'debug_storageRangeAt',10parâmetros: [11"0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",120,13"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5",14"0x0000000000000000000000000000000000000000000000000000000000000000",15"1"16]17})1819consola.registo(resultado)20}2122principal()
1import { QuicknodeSdk } from '@quicknode/sdk'23const qn = new QuicknodeSdk({})45const result = await qn.rpc.call(6'debug_storageRangeAt',7[8"0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",90,10"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5",11"0x0000000000000000000000000000000000000000000000000000000000000000",12"1"13],14undefined,15'https://docs-demo.matic.quiknode.pro/'16)1718console.log(result)
1import { QuicknodeSdk } from '@quicknode/sdk'23const qn = new QuicknodeSdk({})45const result = await qn.rpc.call(6'debug_storageRangeAt',7[8"0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",90,10"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5",11"0x0000000000000000000000000000000000000000000000000000000000000000",12"1"13],14undefined,15'https://docs-demo.matic.quiknode.pro/'16)1718console.log(result)
1import asyncio2from quicknode_sdk import QuicknodeSdk, SdkFullConfig34async def main():5qn = QuicknodeSdk(SdkFullConfig(api_key=None))6result = await qn.rpc.call(7"debug_storageRangeAt",8[9"0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",100,11"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5",12"0x0000000000000000000000000000000000000000000000000000000000000000",13"1"14],15endpoint_url="https://docs-demo.matic.quiknode.pro/",16)17print(result)1819asyncio.run(main())
1import asyncio2from quicknode_sdk import QuicknodeSdk, SdkFullConfig34async def main():5qn = QuicknodeSdk(SdkFullConfig(api_key=None))6result = await qn.rpc.call(7"debug_storageRangeAt",8[9"0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",100,11"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5",12"0x0000000000000000000000000000000000000000000000000000000000000000",13"1"14],15endpoint_url="https://docs-demo.matic.quiknode.pro/",16)17print(result)1819asyncio.run(main())
1require "quicknode_sdk"23qn = QuicknodeSdk::SDK.from_config(api_key: nil)45result = qn.rpc.call(6method: "debug_storageRangeAt",7params: [8"0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",90,10"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5",11"0x0000000000000000000000000000000000000000000000000000000000000000",12"1"13],14endpoint_url: "https://docs-demo.matic.quiknode.pro/"15)1617apresenta o resultado
1require "quicknode_sdk"23qn = QuicknodeSdk::SDK.from_config(api_key: nil)45result = qn.rpc.call(6method: "debug_storageRangeAt",7params: [8"0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",90,10"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5",11"0x0000000000000000000000000000000000000000000000000000000000000000",12"1"13],14endpoint_url: "https://docs-demo.matic.quiknode.pro/"15)1617apresenta o resultado
1use quicknode_sdk::{QuicknodeSdk, SdkFullConfig};23#[tokio::main]4async fn main() -> Result<(), Box<dyn std::error::Error>> {5let qn = QuicknodeSdk::new(&SdkFullConfig::keyless())?;6let result = qn7.rpc8.call(9"debug_storageRangeAt",10Some(serde_json::json!([11"0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",120,13"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5",14"0x0000000000000000000000000000000000000000000000000000000000000000",15"1"16])),17None,18Some("https://docs-demo.matic.quiknode.pro/".into()),19)20.await?;2122println!("{result}");23Ok(())24}
1use quicknode_sdk::{QuicknodeSdk, SdkFullConfig};23#[tokio::main]4async fn main() -> Result<(), Box<dyn std::error::Error>> {5let qn = QuicknodeSdk::new(&SdkFullConfig::keyless())?;6let result = qn7.rpc8.call(9"debug_storageRangeAt",10Some(serde_json::json!([11"0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",120,13"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5",14"0x0000000000000000000000000000000000000000000000000000000000000000",15"1"16])),17None,18Some("https://docs-demo.matic.quiknode.pro/".into()),19)20.await?;2122println!("{result}");23Ok(())24}
1const corpo = {2jsonrpc: '2.0',3method: 'debug_storageRangeAt',4params: ["0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",0,"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5","0x0000000000000000000000000000000000000000000000000000000000000000","1"],5id: 16}78async função main() {9const response = await fetch('https://docs-demo.matic.quiknode.pro/', {10método: 'POST',11headers: {'Content-Type': 'application/json'},12corpo: JSON.converter em string(body)13})14const dados = await resposta.json()15consola.registo(dados)16}1718principal()
1const corpo = {2jsonrpc: '2.0',3method: 'debug_storageRangeAt',4params: ["0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",0,"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5","0x0000000000000000000000000000000000000000000000000000000000000000","1"],5id: 16}78async função main() {9const response = await fetch('https://docs-demo.matic.quiknode.pro/', {10método: 'POST',11headers: {'Content-Type': 'application/json'},12corpo: JSON.converter em string(body)13})14const dados = await resposta.json()15consola.registo(dados)16}1718principal()
1importar pedidos2import json34url = "https://docs-demo.matic.quiknode.pro/"56carga útil = 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})18cabeçalhos = {19'Content-Type': 'application/json'20}2122resposta = pedidos.pedido("POST", url, headers=headers, dados=carga útil)2324imprimir(resposta.texto)
1importar pedidos2import json34url = "https://docs-demo.matic.quiknode.pro/"56carga útil = 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})18cabeçalhos = {19'Content-Type': 'application/json'20}2122resposta = pedidos.pedido("POST", url, headers=headers, dados=carga útil)2324imprimir(resposta.texto)
1exigir "uri"2require "json"3necessita de "net/http"45uri = URI("https://docs-demo.matic.quiknode.pro/")67carga útil = {8jsonrpc: "2.0",9id: 1,10method: "debug_storageRangeAt",11params: ["0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",0,"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5","0x0000000000000000000000000000000000000000000000000000000000000000","1"]12}1314pedido = Líquido::HTTP::POST.novo(uri)15pedido["Content-Type"] = "application/json"16pedido.corpo = JSON.gerar(carga)1718resposta = Líquido::HTTP.início(uri.host, uri.porta, use_ssl: true) executar |http|19http.pedido(pedido)20fim2122insere a resposta.corpo
1exigir "uri"2require "json"3necessita de "net/http"45uri = URI("https://docs-demo.matic.quiknode.pro/")67carga útil = {8jsonrpc: "2.0",9id: 1,10method: "debug_storageRangeAt",11params: ["0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",0,"0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5","0x0000000000000000000000000000000000000000000000000000000000000000","1"]12}1314pedido = Líquido::HTTP::POST.novo(uri)15pedido["Content-Type"] = "application/json"16pedido.corpo = JSON.gerar(carga)1718resposta = Líquido::HTTP.início(uri.host, uri.porta, use_ssl: true) executar |http|19http.pedido(pedido)20fim2122insere a resposta.corpo
Resposta
1{2"jsonrpc": "2.0",3"id": 1,4"result": null5}
1{2"jsonrpc": "2.0",3"id": 1,4"result": null5}
Ainda não tem uma conta?
Crieendpoint seuendpoint Quicknode endpoint segundos e comece a desenvolver
Comece gratuitamente