/v1/network/parameters REST API Endpoint
Parâmetros
none
Devoluções
chain_id
cadeia de caracteres
A carregar...
Pedido
1curl -X 'GET' 'https://docs-demo.flow-mainnet.quiknode.pro/v1/network/parameters' \2-H 'Content-Type: application/json'
1curl -X 'GET' 'https://docs-demo.flow-mainnet.quiknode.pro/v1/network/parameters' \2-H 'Content-Type: application/json'
1var myHeaders = new Headers();2myHeaders.acrescentar("Content-Type", "application/json");34var requestOptions = {5method: 'GET',6cabeçalhos: myHeaders,7redirecionar: 'seguir'8};910fetch("https://docs-demo.flow-mainnet.quiknode.pro/v1/network/parameters", requestOptions)11.então(resposta => resposta.texto())12.então(resultado => console.log(resultado))13.catch(error => console.log('error', error));
1var myHeaders = new Headers();2myHeaders.acrescentar("Content-Type", "application/json");34var requestOptions = {5method: 'GET',6cabeçalhos: myHeaders,7redirecionar: 'seguir'8};910fetch("https://docs-demo.flow-mainnet.quiknode.pro/v1/network/parameters", requestOptions)11.então(resposta => resposta.texto())12.então(resultado => console.log(resultado))13.catch(error => console.log('error', error));
1importar pedidos2import json34url = "https://docs-demo.flow-mainnet.quiknode.pro/v1/network/parameters"56payload={}7cabeçalhos = {8'Content-Type': 'application/json'9}1011resposta = pedidos.pedido("GET", url, headers=headers, dados=carga útil)1213imprimir(resposta.texto)14
1importar pedidos2import json34url = "https://docs-demo.flow-mainnet.quiknode.pro/v1/network/parameters"56payload={}7cabeçalhos = {8'Content-Type': 'application/json'9}1011resposta = pedidos.pedido("GET", url, headers=headers, dados=carga útil)1213imprimir(resposta.texto)14
1exigir "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.flow-mainnet.quiknode.pro/v1/network/parameters")67https = Net::HTTP.novo(url.host, url.porta)8https.use_ssl = true910pedido = Líquido::HTTP::Get.novo(url)11pedido["Content-Type"] = "application/json"1213resposta = https.pedido(pedido)14insere a resposta.read_body15
1exigir "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.flow-mainnet.quiknode.pro/v1/network/parameters")67https = Net::HTTP.novo(url.host, url.porta)8https.use_ssl = true910pedido = Líquido::HTTP::Get.novo(url)11pedido["Content-Type"] = "application/json"1213resposta = https.pedido(pedido)14insere a resposta.read_body15
Ainda não tem uma conta?
Crie o seu ponto de extremidade Quicknode em segundos e comece a desenvolver
Comece gratuitamente