/v1/estimate_gas_price REST API Endpoint
Parameter
Diese Methode akzeptiert keine Parameter.
Rücksendungen
deprioritized_gas_estimate
Wird geladen...
gas_estimate
Wird geladen...
prioritized_gas_estimate
Wird geladen...
Anfrage
1curl -X 'GET' https://docs-demo.aptos-mainnet.quiknode.pro/v1/estimate_gas_price/ \2-H 'Content-Type: application/json'
1curl -X 'GET' https://docs-demo.aptos-mainnet.quiknode.pro/v1/estimate_gas_price/ \2-H 'Content-Type: application/json'
1var myHeaders = new Headers();2myHeaders.anhängen("Content-Type", "application/json");34var requestOptions = {5Methode: 'GET',6Überschriften: myHeaders,7redirect: 'follow'8};910fetch("https://docs-demo.aptos-mainnet.quiknode.pro/v1/estimate_gas_price/", requestOptions)11.dann(Antwort => Antwort.text())12.dann(Ergebnis => Konsole.log(Ergebnis))13.catch(error => console.log('error', error));
1var myHeaders = new Headers();2myHeaders.anhängen("Content-Type", "application/json");34var requestOptions = {5Methode: 'GET',6Überschriften: myHeaders,7redirect: 'follow'8};910fetch("https://docs-demo.aptos-mainnet.quiknode.pro/v1/estimate_gas_price/", requestOptions)11.dann(Antwort => Antwort.text())12.dann(Ergebnis => Konsole.log(Ergebnis))13.catch(error => console.log('error', error));
1import Anfragen2import json34url = "https://docs-demo.aptos-mainnet.quiknode.pro/v1/estimate_gas_price/"56Nutzlast = {}7Kopfzeilen = {8„Content-Type“: 'application/json'9}1011Antwort = Anfragen.Anfrage("GET", URL, headers=headers, Daten=Nutzdaten)1213Drucken(Antwort.text)14
1import Anfragen2import json34url = "https://docs-demo.aptos-mainnet.quiknode.pro/v1/estimate_gas_price/"56Nutzlast = {}7Kopfzeilen = {8„Content-Type“: 'application/json'9}1011Antwort = Anfragen.Anfrage("GET", URL, headers=headers, Daten=Nutzdaten)1213Drucken(Antwort.text)14
1require „uri“2require "json"3require „net/http“45url = URI("https://docs-demo.aptos-mainnet.quiknode.pro/v1/estimate_gas_price/")67https = Net::HTTP.new(url.host, URL.Port)8https.use_ssl = true910Anfrage = Netto::HTTP::Get.new(URL)11Anfrage[„Content-Type“] = „application/json“1213Antwort = https.Anfrage(Anfrage)14gibt die Antwort aus.read_body15
1require „uri“2require "json"3require „net/http“45url = URI("https://docs-demo.aptos-mainnet.quiknode.pro/v1/estimate_gas_price/")67https = Net::HTTP.new(url.host, URL.Port)8https.use_ssl = true910Anfrage = Netto::HTTP::Get.new(URL)11Anfrage[„Content-Type“] = „application/json“1213Antwort = https.Anfrage(Anfrage)14gibt die Antwort aus.read_body15
Hast du noch kein Konto?
Erstellen Sie Ihrenendpoint Sekundenschnelle und legen Sie los
Kostenlos loslegen