Get Service Configuration
Parameter
Diese Methode akzeptiert keine Parameter.
Rücksendungen
Daten
Objekt
Wird geladen...
serviceConfig
Objekt
Wird geladen...
maxQueryDepth
Ganzzahl
Wird geladen...
maxQueryNodes
Ganzzahl
Wird geladen...
maxOutputNodes
Ganzzahl
Wird geladen...
defaultPageSize
Ganzzahl
Wird geladen...
maxPageSize
Ganzzahl
Wird geladen...
queryTimeoutMs
Ganzzahl
Wird geladen...
maxQueryPayloadSize
Ganzzahl
Wird geladen...
maxTypeArgumentDepth
Ganzzahl
Wird geladen...
maxTypeArgumentWidth
Ganzzahl
Wird geladen...
maxTypeNodes
Ganzzahl
Wird geladen...
maxMoveValueDepth
Ganzzahl
Wird geladen...
Anfrage
1curl --location 'https://docs-demo.sui-mainnet.quiknode.pro/graphql' \2--header 'Accept: application/json' \3--header 'Content-Type: application/json' \4--Daten '{5"query": "{ serviceConfig { maxQueryDepth maxQueryNodes maxOutputNodes defaultPageSize(type: \"Query\", field: \"transactions\") maxPageSize(type: \"Query\", field: \"objects\") queryTimeoutMs maxQueryPayloadSize maxTypeArgumentDepth maxTypeArgumentWidth maxTypeNodes maxMoveValueDepth } }"6}'7
1curl --location 'https://docs-demo.sui-mainnet.quiknode.pro/graphql' \2--header 'Accept: application/json' \3--header 'Content-Type: application/json' \4--Daten '{5"query": "{ serviceConfig { maxQueryDepth maxQueryNodes maxOutputNodes defaultPageSize(type: \"Query\", field: \"transactions\") maxPageSize(type: \"Query\", field: \"objects\") queryTimeoutMs maxQueryPayloadSize maxTypeArgumentDepth maxTypeArgumentWidth maxTypeNodes maxMoveValueDepth } }"6}'7
1const myHeaders = new Headers();2myHeaders.anhängen("Accept", "application/json");3myHeaders.anhängen("Content-Type", "application/json");45const raw = JSON.stringify({6"query": "{ serviceConfig { maxQueryDepth maxQueryNodes maxOutputNodes defaultPageSize(type: \"Query\", field: \"transactions\") maxPageSize(type: \"Query\", field: \"objects\") queryTimeoutMs maxQueryPayloadSize maxTypeArgumentDepth maxTypeArgumentWidth maxTypeNodes maxMoveValueDepth } }"7});89const requestOptions = {10Methode: „POST“,11Überschriften: myHeaders,12Körper: raw,13Weiterleitung: „follow“14};1516fetch("https://docs-demo.sui-mainnet.quiknode.pro/graphql", requestOptions)17.dann((Antwort) => Antwort.text())18.dann((Ergebnis) => Konsole.log(Ergebnis))19.catch((Fehler) => Konsole.Fehler(Fehler));20
1const myHeaders = new Headers();2myHeaders.anhängen("Accept", "application/json");3myHeaders.anhängen("Content-Type", "application/json");45const raw = JSON.stringify({6"query": "{ serviceConfig { maxQueryDepth maxQueryNodes maxOutputNodes defaultPageSize(type: \"Query\", field: \"transactions\") maxPageSize(type: \"Query\", field: \"objects\") queryTimeoutMs maxQueryPayloadSize maxTypeArgumentDepth maxTypeArgumentWidth maxTypeNodes maxMoveValueDepth } }"7});89const requestOptions = {10Methode: „POST“,11Überschriften: myHeaders,12Körper: raw,13Weiterleitung: „follow“14};1516fetch("https://docs-demo.sui-mainnet.quiknode.pro/graphql", requestOptions)17.dann((Antwort) => Antwort.text())18.dann((Ergebnis) => Konsole.log(Ergebnis))19.catch((Fehler) => Konsole.Fehler(Fehler));20
1import Anfragen2import json34url = "https://docs-demo.sui-mainnet.quiknode.pro/graphql"56Nutzlast = json.dumps({7"query": "{ serviceConfig { maxQueryDepth maxQueryNodes maxOutputNodes defaultPageSize(type: \"Query\", field: \"transactions\") maxPageSize(type: \"Query\", field: \"objects\") queryTimeoutMs maxQueryPayloadSize maxTypeArgumentDepth maxTypeArgumentWidth maxTypeNodes maxMoveValueDepth } }"8})9Überschriften = {10„Akzeptieren“: 'application/json',11„Content-Type“: 'application/json'12}1314Antwort = Anfragen.Anfrage("POST", url, headers=headers, Daten=Nutzdaten)1516Drucken(Antwort.text)17
1import Anfragen2import json34url = "https://docs-demo.sui-mainnet.quiknode.pro/graphql"56Nutzlast = json.dumps({7"query": "{ serviceConfig { maxQueryDepth maxQueryNodes maxOutputNodes defaultPageSize(type: \"Query\", field: \"transactions\") maxPageSize(type: \"Query\", field: \"objects\") queryTimeoutMs maxQueryPayloadSize maxTypeArgumentDepth maxTypeArgumentWidth maxTypeNodes maxMoveValueDepth } }"8})9Überschriften = {10„Akzeptieren“: 'application/json',11„Content-Type“: 'application/json'12}1314Antwort = Anfragen.Anfrage("POST", url, headers=headers, Daten=Nutzdaten)1516Drucken(Antwort.text)17
1require "uri"2require "json"3require „net/http“45url = URI("https://docs-demo.sui-mainnet.quiknode.pro/graphql")67https = Net::HTTP.new(url.host, URL.Port)8https.use_ssl = true910Anfrage = Netto::HTTP::POST.new(URL)11Anfrage[„Akzeptieren“] = „application/json“12Anfrage[„Content-Type“] = „application/json“13Anfrage.Inhalt = JSON.dump({14"query" => "{ serviceConfig { maxQueryDepth maxQueryNodes maxOutputNodes defaultPageSize(type: \"Query\", field: \"transactions\") maxPageSize(type: \"Query\", field: \"objects\") queryTimeoutMs maxQueryPayloadSize maxTypeArgumentDepth maxTypeArgumentWidth maxTypeNodes maxMoveValueDepth } }"15})1617Antwort = https.Anfrage(Anfrage)18gibt die Antwort aus.read_body19
1require "uri"2require "json"3require „net/http“45url = URI("https://docs-demo.sui-mainnet.quiknode.pro/graphql")67https = Net::HTTP.new(url.host, URL.Port)8https.use_ssl = true910Anfrage = Netto::HTTP::POST.new(URL)11Anfrage[„Akzeptieren“] = „application/json“12Anfrage[„Content-Type“] = „application/json“13Anfrage.Inhalt = JSON.dump({14"query" => "{ serviceConfig { maxQueryDepth maxQueryNodes maxOutputNodes defaultPageSize(type: \"Query\", field: \"transactions\") maxPageSize(type: \"Query\", field: \"objects\") queryTimeoutMs maxQueryPayloadSize maxTypeArgumentDepth maxTypeArgumentWidth maxTypeNodes maxMoveValueDepth } }"15})1617Antwort = https.Anfrage(Anfrage)18gibt die Antwort aus.read_body19
Haben Sie noch kein Konto?
Erstellen Sie Ihren Quicknode-Endpunkt in Sekundenschnelle und legen Sie los
Kostenlos loslegen