starknet_getStorageAt RPC Method
Parameter
contract_address
Zeichenkette
ERFORDERLICH
Wird geladen...
Schlüssel
Zeichenkette
ERFORDERLICH
Wird geladen...
block_id
Zeichenkette
ERFORDERLICH
Wird geladen...
Rücksendungen
Ergebnis
Zeichenkette
Wird geladen...
Anfrage
1# Note: You can specify Starknet version in the URL path2# Example: /rpc/v0_8 for version 0.8, /rpc/v0_6 for version 0.63curl --location 'https://docs-demo.strk-mainnet.quiknode.pro/rpc/v0_8' \4--header 'accept: application/json' \5--header 'content-type: application/json' \6--Daten '{7"id": 1,8"jsonrpc": "2.0",9"method": "starknet_getStorageAt",10"params": [11"0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7",12"0x0000000000000000000000000000000000000000000000000000000000000001",13„aktuell“14]15}'
1# Note: You can specify Starknet version in the URL path2# Example: /rpc/v0_8 for version 0.8, /rpc/v0_6 for version 0.63curl --location 'https://docs-demo.strk-mainnet.quiknode.pro/rpc/v0_8' \4--header 'accept: application/json' \5--header 'content-type: application/json' \6--Daten '{7"id": 1,8"jsonrpc": "2.0",9"method": "starknet_getStorageAt",10"params": [11"0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7",12"0x0000000000000000000000000000000000000000000000000000000000000001",13„aktuell“14]15}'
1// Note: You can specify Starknet version in the URL path2// Example: /rpc/v0_8 for version 0.8, /rpc/v0_6 for version 0.63const myHeaders = new Headers();4myHeaders.anhängen("accept", "application/json");5myHeaders.append("content-type", "application/json");67const raw = JSON.stringify({8„id“: 1,9„jsonrpc“: "2.0",10"method": "starknet_getStorageAt",11„params“: [12"0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7",13"0x0000000000000000000000000000000000000000000000000000000000000001",14„aktuell“15]16});1718const requestOptions = {19Methode: „POST“,20Überschriften: myHeaders,21Körper: raw,22Weiterleitung: „follow“23};2425fetch("https://docs-demo.strk-mainnet.quiknode.pro/rpc/v0_8", requestOptions)26.dann((Antwort) => Antwort.text())27.dann((Ergebnis) => Konsole.log(Ergebnis))28.catch((Fehler) => Konsole.Fehler(Fehler));29
1// Note: You can specify Starknet version in the URL path2// Example: /rpc/v0_8 for version 0.8, /rpc/v0_6 for version 0.63const myHeaders = new Headers();4myHeaders.anhängen("accept", "application/json");5myHeaders.append("content-type", "application/json");67const raw = JSON.stringify({8„id“: 1,9„jsonrpc“: "2.0",10"method": "starknet_getStorageAt",11„params“: [12"0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7",13"0x0000000000000000000000000000000000000000000000000000000000000001",14„aktuell“15]16});1718const requestOptions = {19Methode: „POST“,20Überschriften: myHeaders,21Körper: raw,22Weiterleitung: „follow“23};2425fetch("https://docs-demo.strk-mainnet.quiknode.pro/rpc/v0_8", requestOptions)26.dann((Antwort) => Antwort.text())27.dann((Ergebnis) => Konsole.log(Ergebnis))28.catch((Fehler) => Konsole.Fehler(Fehler));29
1# Note: You can specify Starknet version in the URL path2# Example: /rpc/v0_8 for version 0.8, /rpc/v0_6 for version 0.63import requests4import json56url = "https://docs-demo.strk-mainnet.quiknode.pro/rpc/v0_8"78Nutzlast = json.dumps({9„id“: 1,10„jsonrpc“: "2.0",11"method": "starknet_getStorageAt",12„params“: [13"0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7",14"0x0000000000000000000000000000000000000000000000000000000000000001",15„aktuell“16]17})18Überschriften = {19„akzeptieren“: 'application/json',20'content-type': 'application/json'21}2223Antwort = Anfragen.Anfrage("POST", url, headers=headers, Daten=Nutzdaten)2425Drucken(Antwort.text)26
1# Note: You can specify Starknet version in the URL path2# Example: /rpc/v0_8 for version 0.8, /rpc/v0_6 for version 0.63import requests4import json56url = "https://docs-demo.strk-mainnet.quiknode.pro/rpc/v0_8"78Nutzlast = json.dumps({9„id“: 1,10„jsonrpc“: "2.0",11"method": "starknet_getStorageAt",12„params“: [13"0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7",14"0x0000000000000000000000000000000000000000000000000000000000000001",15„aktuell“16]17})18Überschriften = {19„akzeptieren“: 'application/json',20'content-type': 'application/json'21}2223Antwort = Anfragen.Anfrage("POST", url, headers=headers, Daten=Nutzdaten)2425Drucken(Antwort.text)26
1# Note: You can specify Starknet version in the URL path2# Example: /rpc/v0_8 for version 0.8, /rpc/v0_6 for version 0.63require "uri"4require "json"5require „net/http“67url = URI("https://docs-demo.strk-mainnet.quiknode.pro/rpc/v0_8")89http = Net::HTTP.new(url.host, url.port);10Anfrage = Netto::HTTP::POST.new(URL)11Anfrage[„akzeptieren“] = „application/json“12request["content-type"] = "application/json"13Anfrage.Inhalt = JSON.dump({14„id“: 1,15„jsonrpc“: "2.0",16"method": "starknet_getStorageAt",17„params“: [18"0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7",19"0x0000000000000000000000000000000000000000000000000000000000000001",20„aktuell“21]22})2324Antwort = http.Anfrage(Anfrage)25gibt die Antwort aus.read_body26
1# Note: You can specify Starknet version in the URL path2# Example: /rpc/v0_8 for version 0.8, /rpc/v0_6 for version 0.63require "uri"4require "json"5require „net/http“67url = URI("https://docs-demo.strk-mainnet.quiknode.pro/rpc/v0_8")89http = Net::HTTP.new(url.host, url.port);10Anfrage = Netto::HTTP::POST.new(URL)11Anfrage[„akzeptieren“] = „application/json“12request["content-type"] = "application/json"13Anfrage.Inhalt = JSON.dump({14„id“: 1,15„jsonrpc“: "2.0",16"method": "starknet_getStorageAt",17„params“: [18"0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7",19"0x0000000000000000000000000000000000000000000000000000000000000001",20„aktuell“21]22})2324Antwort = http.Anfrage(Anfrage)25gibt die Antwort aus.read_body26
Haben Sie noch kein Konto?
Erstellen Sie Ihren Quicknode-Endpunkt in Sekundenschnelle und legen Sie los
Kostenlos loslegen