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.append("Accept", "application/json");3myHeaders.append("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 = {10method: "POST",11ヘッダー: myHeaders,12本文: raw,13リダイレクト: "follow"14};1516fetch("https://docs-demo.sui-mainnet.quiknode.pro/graphql", requestOptions)17.その後((レスポンス) => レスポンス.text())18.その後((結果) => コンソール.log(result))19.catch((error) => console.error(error));20
1const myHeaders = new Headers();2myHeaders.append("Accept", "application/json");3myHeaders.append("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 = {10method: "POST",11ヘッダー: myHeaders,12本文: raw,13リダイレクト: "follow"14};1516fetch("https://docs-demo.sui-mainnet.quiknode.pro/graphql", requestOptions)17.その後((レスポンス) => レスポンス.text())18.その後((結果) => コンソール.log(result))19.catch((error) => console.error(error));20
1import リクエスト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, データ=ペイロード)1516印刷(レスポンス.text)17
1import リクエスト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, データ=ペイロード)1516印刷(レスポンス.text)17
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.sui-mainnet.quiknode.pro/graphql")67https = ネット::HTTP.new(url.ホスト, url.ポート)8https.use_ssl = true910リクエスト = ネット::HTTP::POST.new(URL)11request["Accept"] = "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
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.sui-mainnet.quiknode.pro/graphql")67https = ネット::HTTP.new(url.ホスト, url.ポート)8https.use_ssl = true910リクエスト = ネット::HTTP::POST.new(URL)11request["Accept"] = "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