Get Service Configuration
Parâmetros
Este método não aceita quaisquer parâmetros
Devoluções
dados
objeto
Carregando...
serviceConfig
objeto
Carregando...
maxQueryDepth
número inteiro
Carregando...
maxQueryNodes
número inteiro
Carregando...
maxOutputNodes
número inteiro
Carregando...
defaultPageSize
número inteiro
Carregando...
maxPageSize
número inteiro
Carregando...
queryTimeoutMs
número inteiro
Carregando...
maxQueryPayloadSize
número inteiro
Carregando...
maxTypeArgumentDepth
número inteiro
Carregando...
maxTypeArgumentWidth
número inteiro
Carregando...
maxTypeNodes
número inteiro
Carregando...
maxMoveValueDepth
número inteiro
Carregando...
Pedido
1curl --location 'https://docs-demo.sui-mainnet.quiknode.pro/graphql' \2--header 'Accept: application/json' \3--cabeçalho 'Content-Type: application/json' \4--dados '{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--cabeçalho 'Content-Type: application/json' \4--dados '{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.acrescentar("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",11cabeçalhos: myHeaders,12body: raw,13redirecionar: "seguir"14};1516fetch("https://docs-demo.sui-mainnet.quiknode.pro/graphql", requestOptions)17.então((resposta) => resposta.texto())18.então((resultado) => console.log(resultado))19.catch((error) => console.error(error));20
1const myHeaders = new Headers();2myHeaders.append("Accept", "application/json");3myHeaders.acrescentar("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",11cabeçalhos: myHeaders,12body: raw,13redirecionar: "seguir"14};1516fetch("https://docs-demo.sui-mainnet.quiknode.pro/graphql", requestOptions)17.então((resposta) => resposta.texto())18.então((resultado) => console.log(resultado))19.catch((error) => console.error(error));20
1importar pedidos2import json34url = "https://docs-demo.sui-mainnet.quiknode.pro/graphql"56carga útil = 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})9cabeçalhos = {10«Aceitar»: 'application/json',11'Content-Type': 'application/json'12}1314resposta = pedidos.pedido("POST", url, headers=headers, dados=carga útil)1516imprimir(resposta.texto)17
1importar pedidos2import json34url = "https://docs-demo.sui-mainnet.quiknode.pro/graphql"56carga útil = 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})9cabeçalhos = {10«Aceitar»: 'application/json',11'Content-Type': 'application/json'12}1314resposta = pedidos.pedido("POST", url, headers=headers, dados=carga útil)1516imprimir(resposta.texto)17
1exigir "uri"2require "json"3necessita de "net/http"45url = URI("https://docs-demo.sui-mainnet.quiknode.pro/graphql")67https = Net::HTTP.novo(url.host, url.porta)8https.use_ssl = true910pedido = Líquido::HTTP::POST.novo(url)11pedido[«Aceitar»] = "application/json"12pedido["Content-Type"] = "application/json"13request.body = 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})1617resposta = https.pedido(pedido)18insere a resposta.read_body19
1exigir "uri"2require "json"3necessita de "net/http"45url = URI("https://docs-demo.sui-mainnet.quiknode.pro/graphql")67https = Net::HTTP.novo(url.host, url.porta)8https.use_ssl = true910pedido = Líquido::HTTP::POST.novo(url)11pedido[«Aceitar»] = "application/json"12pedido["Content-Type"] = "application/json"13request.body = 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})1617resposta = https.pedido(pedido)18insere a resposta.read_body19
Ainda não tem uma conta?
Crieendpoint seuendpoint Quicknode endpoint segundos e comece a desenvolver
Comece gratuitamente