/api/v3/runGetMethod RPC Method
Körperparameter
Objekt
Objekt
ERFORDERLICH
Wird geladen...
Adresse
Zeichenkette
Wird geladen...
Methode
Zeichenkette
Wird geladen...
stack
Array
Wird geladen...
Typ
Zeichenkette
Wird geladen...
Wert
Objekt
Wird geladen...
Rücksendungen
Verbrauch
Ganzzahl
Wird geladen...
exit_code
Ganzzahl
Wird geladen...
stack
Array
Wird geladen...
Typ
Zeichenkette
Wird geladen...
Wert
Zeichenkette
Wird geladen...
Anfrage
1curl --location 'https://docs-demo.ton-mainnet.quiknode.pro/api/v3/runGetMethod' \2--header 'accept: application/json' \3--header 'Content-Type: application/json' \4--Daten '{5"address": "EQDtFpEwcFAEcRe5mLVh2N6C0x-_hJEM7W61_JLnSF74p4q2",6"method": "get_staking_status",7"stack": [8{9"type": "num",10"value": "0x12a"11}12]13}'
1curl --location 'https://docs-demo.ton-mainnet.quiknode.pro/api/v3/runGetMethod' \2--header 'accept: application/json' \3--header 'Content-Type: application/json' \4--Daten '{5"address": "EQDtFpEwcFAEcRe5mLVh2N6C0x-_hJEM7W61_JLnSF74p4q2",6"method": "get_staking_status",7"stack": [8{9"type": "num",10"value": "0x12a"11}12]13}'
1const myHeaders = new Headers();2myHeaders.anhängen("accept", "application/json");3myHeaders.anhängen("Content-Type", "application/json");45const raw = JSON.stringify({6"address": "EQDtFpEwcFAEcRe5mLVh2N6C0x-_hJEM7W61_JLnSF74p4q2",7"method": "get_staking_status",8"stack": [9{10"type": "num",11"value": "0x12a"12}13]14});1516const requestOptions = {17Methode: „POST“,18Überschriften: myHeaders,19Körper: raw,20Weiterleitung: „follow“21};2223fetch("https://docs-demo.ton-mainnet.quiknode.pro/api/v3/runGetMethod", requestOptions)24.dann((Antwort) => Antwort.text())25.dann((Ergebnis) => Konsole.log(Ergebnis))26.catch((Fehler) => Konsole.Fehler(Fehler));
1const myHeaders = new Headers();2myHeaders.anhängen("accept", "application/json");3myHeaders.anhängen("Content-Type", "application/json");45const raw = JSON.stringify({6"address": "EQDtFpEwcFAEcRe5mLVh2N6C0x-_hJEM7W61_JLnSF74p4q2",7"method": "get_staking_status",8"stack": [9{10"type": "num",11"value": "0x12a"12}13]14});1516const requestOptions = {17Methode: „POST“,18Überschriften: myHeaders,19Körper: raw,20Weiterleitung: „follow“21};2223fetch("https://docs-demo.ton-mainnet.quiknode.pro/api/v3/runGetMethod", requestOptions)24.dann((Antwort) => Antwort.text())25.dann((Ergebnis) => Konsole.log(Ergebnis))26.catch((Fehler) => Konsole.Fehler(Fehler));
1import Anfragen2import json34url = "https://docs-demo.ton-mainnet.quiknode.pro/api/v3/runGetMethod"56Nutzlast = json.dumps({7"address": "EQDtFpEwcFAEcRe5mLVh2N6C0x-_hJEM7W61_JLnSF74p4q2",8"method": "get_staking_status",9"stack": [10{11"type": "num",12"value": "0x12a"13}14]15})16Überschriften = {17„akzeptieren“: 'application/json',18„Content-Type“: 'application/json'19}2021Antwort = Anfragen.Anfrage("POST", url, headers=headers, Daten=Nutzdaten)2223Drucken(Antwort.text)24
1import Anfragen2import json34url = "https://docs-demo.ton-mainnet.quiknode.pro/api/v3/runGetMethod"56Nutzlast = json.dumps({7"address": "EQDtFpEwcFAEcRe5mLVh2N6C0x-_hJEM7W61_JLnSF74p4q2",8"method": "get_staking_status",9"stack": [10{11"type": "num",12"value": "0x12a"13}14]15})16Überschriften = {17„akzeptieren“: 'application/json',18„Content-Type“: 'application/json'19}2021Antwort = Anfragen.Anfrage("POST", url, headers=headers, Daten=Nutzdaten)2223Drucken(Antwort.text)24
1require "uri"2require „net/http“34url = URI("https://docs-demo.ton-mainnet.quiknode.pro/api/v3/runGetMethod")56http = Net::HTTP.new(url.host, url.port);7Anfrage = Netto::HTTP::POST.new(URL)8Anfrage[„akzeptieren“] = „application/json“9Anfrage[„Content-Type“] = „application/json“10Anfrage.Inhalt = JSON.dump({11"address": "EQDtFpEwcFAEcRe5mLVh2N6C0x-_hJEM7W61_JLnSF74p4q2",12"method": "get_staking_status",13"stack": [14{15"type": "num",16"value": "0x12a"17}18]19})2021response = http.request(request)
1require "uri"2require „net/http“34url = URI("https://docs-demo.ton-mainnet.quiknode.pro/api/v3/runGetMethod")56http = Net::HTTP.new(url.host, url.port);7Anfrage = Netto::HTTP::POST.new(URL)8Anfrage[„akzeptieren“] = „application/json“9Anfrage[„Content-Type“] = „application/json“10Anfrage.Inhalt = JSON.dump({11"address": "EQDtFpEwcFAEcRe5mLVh2N6C0x-_hJEM7W61_JLnSF74p4q2",12"method": "get_staking_status",13"stack": [14{15"type": "num",16"value": "0x12a"17}18]19})2021response = http.request(request)
Haben Sie noch kein Konto?
Erstellen Sie Ihren Quicknode-Endpunkt in Sekundenschnelle und legen Sie los
Kostenlos loslegen