Get Service Configuration
參數
此方法不接受任何參數
退貨
資料
物件
載入中...
serviceConfig
物件
載入中...
maxQueryDepth
整數
載入中...
maxQueryNodes
整數
載入中...
maxOutputNodes
整數
載入中...
defaultPageSize
整數
載入中...
maxPageSize
整數
載入中...
queryTimeoutMs
整數
載入中...
maxQueryPayloadSize
整數
載入中...
maxTypeArgumentDepth
整數
載入中...
maxTypeArgumentWidth
整數
載入中...
maxTypeNodes
整數
載入中...
maxMoveValueDepth
整數
載入中...
請求
1curl --location 'https://docs-demo.sui-mainnet.quiknode.pro/graphql' \2--header 'Accept: application/json' \3--標頭 'Content-Type: application/json' \4--data '{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--標頭 'Content-Type: application/json' \4--data '{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.追加("Accept", "application/json");3myHeaders.追加("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 = {10方法: 「POST」,11標題: myHeaders,12正文: 原始,13重定向: 「追蹤」14};1516fetch("https://docs-demo.sui-mainnet.quiknode.pro/graphql", requestOptions)17.接著((回應) => 回應.文字())18.接著((結果) => 控制台.log(結果))19.catch((錯誤) => 控制台.錯誤(錯誤));20
1const myHeaders = new Headers();2myHeaders.追加("Accept", "application/json");3myHeaders.追加("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 = {10方法: 「POST」,11標題: myHeaders,12正文: 原始,13重定向: 「追蹤」14};1516fetch("https://docs-demo.sui-mainnet.quiknode.pro/graphql", requestOptions)17.接著((回應) => 回應.文字())18.接著((結果) => 控制台.log(結果))19.catch((錯誤) => 控制台.錯誤(錯誤));20
1匯入 請求2import json34url = "https://docs-demo.sui-mainnet.quiknode.pro/graphql"56有效載荷 = 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標題 = {10「接受」: 'application/json',11「Content-Type」: 'application/json'12}1314回應 = 請求.請求("POST", url, headers=headers, data=有效載荷)1516列印(回應.text)17
1匯入 請求2import json34url = "https://docs-demo.sui-mainnet.quiknode.pro/graphql"56有效載荷 = 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標題 = {10「接受」: 'application/json',11「Content-Type」: 'application/json'12}1314回應 = 請求.請求("POST", url, headers=headers, data=有效載荷)1516列印(回應.text)17
1需要 "uri"2require "json"3需要 "net/http"45url = URI("https://docs-demo.sui-mainnet.quiknode.pro/graphql")67https = 網::HTTP.new(url.主機, url.port)8https.use_ssl = true910請求 = 淨::HTTP::POST.new(網址)11請求[「接受」] = "application/json"12請求["Content-Type"] = "application/json"13請求。正文 = 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})1617回應 = https.請求(請求)18將回應。read_body19
1需要 "uri"2require "json"3需要 "net/http"45url = URI("https://docs-demo.sui-mainnet.quiknode.pro/graphql")67https = 網::HTTP.new(url.主機, url.port)8https.use_ssl = true910請求 = 淨::HTTP::POST.new(網址)11請求[「接受」] = "application/json"12請求["Content-Type"] = "application/json"13請求。正文 = 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})1617回應 = https.請求(請求)18將回應。read_body19