getVersionInfo RPC Method
Parameter
Diese Methode akzeptiert keine Parameter.
Rücksendungen
Ergebnis
Objekt
Wird geladen...
Version
Zeichenkette
Wird geladen...
commitHash
Zeichenkette
Wird geladen...
buildTimestamp
Zeichenkette
Wird geladen...
captiveCoreVersion
Zeichenkette
Wird geladen...
protocolVersion
Ganzzahl
Wird geladen...
Anfrage
1curl --location 'https://docs-demo.stellar-mainnet.quiknode.pro/' \2--header 'Content-Type: application/json' \3--Daten '{4"jsonrpc": "2.0",5"id": 8675309,6"method": "getVersionInfo"7}'8
1curl --location 'https://docs-demo.stellar-mainnet.quiknode.pro/' \2--header 'Content-Type: application/json' \3--Daten '{4"jsonrpc": "2.0",5"id": 8675309,6"method": "getVersionInfo"7}'8
1var myHeaders = new Headers();2myHeaders.anhängen("Content-Type", "application/json");34var raw = JSON.stringify({5„jsonrpc“: "2.0",6"id": 8675309,7"method": "getVersionInfo"8});910var requestOptions = {11Methode: 'POST',12Überschriften: myHeaders,13Körper: raw,14Weiterleitung: 'follow'15};1617fetch("https://docs-demo.stellar-mainnet.quiknode.pro/", requestOptions)18.dann(Antwort => Antwort.text())19.dann(Ergebnis => Konsole.log(Ergebnis))20.catch(Fehler => Konsole.log('Fehler', Fehler));21
1var myHeaders = new Headers();2myHeaders.anhängen("Content-Type", "application/json");34var raw = JSON.stringify({5„jsonrpc“: "2.0",6"id": 8675309,7"method": "getVersionInfo"8});910var requestOptions = {11Methode: 'POST',12Überschriften: myHeaders,13Körper: raw,14Weiterleitung: 'follow'15};1617fetch("https://docs-demo.stellar-mainnet.quiknode.pro/", requestOptions)18.dann(Antwort => Antwort.text())19.dann(Ergebnis => Konsole.log(Ergebnis))20.catch(Fehler => Konsole.log('Fehler', Fehler));21
1import Anfragen2import json34url = "https://docs-demo.stellar-mainnet.quiknode.pro/"56Nutzlast = json.dumps({7„jsonrpc“: "2.0",8"id": 8675309,9"method": "getVersionInfo"10})11Überschriften = {12„Content-Type“: 'application/json'13}1415Antwort = Anfragen.Anfrage("POST", url, headers=headers, Daten=Nutzdaten)1617Drucken(Antwort.text)18
1import Anfragen2import json34url = "https://docs-demo.stellar-mainnet.quiknode.pro/"56Nutzlast = json.dumps({7„jsonrpc“: "2.0",8"id": 8675309,9"method": "getVersionInfo"10})11Überschriften = {12„Content-Type“: 'application/json'13}1415Antwort = Anfragen.Anfrage("POST", url, headers=headers, Daten=Nutzdaten)1617Drucken(Antwort.text)18
1require "uri"2require "json"3require „net/http“45url = URI("https://docs-demo.stellar-mainnet.quiknode.pro/")67https = Net::HTTP.new(url.host, URL.Port)8https.use_ssl = true910Anfrage = Netto::HTTP::POST.new(URL)11Anfrage[„Content-Type“] = „application/json“12Anfrage.Inhalt = JSON.dump({13„jsonrpc“: "2.0",14"id": 8675309,15"method": "getVersionInfo"16})1718Antwort = https.Anfrage(Anfrage)19gibt die Antwort aus.read_body20
1require "uri"2require "json"3require „net/http“45url = URI("https://docs-demo.stellar-mainnet.quiknode.pro/")67https = Net::HTTP.new(url.host, URL.Port)8https.use_ssl = true910Anfrage = Netto::HTTP::POST.new(URL)11Anfrage[„Content-Type“] = „application/json“12Anfrage.Inhalt = JSON.dump({13„jsonrpc“: "2.0",14"id": 8675309,15"method": "getVersionInfo"16})1718Antwort = https.Anfrage(Anfrage)19gibt die Antwort aus.read_body20
Haben Sie noch kein Konto?
Erstellen Sie Ihren Quicknode-Endpunkt in Sekundenschnelle und legen Sie los
Kostenlos loslegen