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.추가("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본문: raw,13리디렉션: "follow"14};1516fetch("https://docs-demo.sui-mainnet.quiknode.pro/graphql", requestOptions)17.그런 다음((응답) => 응답.text())18.그런 다음((결과) => console.log(result))19.catchcatch ((오류) => 콘솔.오류(오류));20
1const myHeaders = new Headers();2myHeaders.append("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본문: raw,13리디렉션: "follow"14};1516fetch("https://docs-demo.sui-mainnet.quiknode.pro/graphql", requestOptions)17.그런 다음((응답) => 응답.text())18.그런 다음((결과) => console.log(result))19.catchcatch ((오류) => 콘솔.오류(오류));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'Accept': 'application/json',11'Content-Type': 'application/json'12}1314답변 = 요청.요청("POST", url, 헤더=헤더, data=페이로드)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'Accept': 'application/json',11'Content-Type': 'application/json'12}1314답변 = 요청.요청("POST", url, 헤더=헤더, data=페이로드)1516인쇄(응답.text)17
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.sui-mainnet.quiknode.pro/graphql")67https = Net::HTTP.new(url.호스트, url.포트)8https.use_ssl = true910요청 = 순::HTTP::POST.새(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 = Net::HTTP.new(url.호스트, url.포트)8https.use_ssl = true910요청 = 순::HTTP::POST.새(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