klay_feeHistory RPC Method
Parameter
blockCount
Zeichenkette
ERFORDERLICH
Wird geladen...
newestBlock
Zeichenkette
ERFORDERLICH
Wird geladen...
rewardPercentiles
Ganzzahl
ERFORDERLICH
Wird geladen...
Rücksendungen
oldestBlock
Zeichenkette
Wird geladen...
Basisgebühr pro Gas
Array
Wird geladen...
gasUsedRatio
Array
Wird geladen...
reward
Array
Wird geladen...
Anfrage
1curl https://docs-demo.kaia-kairos.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{"method":"klay_feeHistory","params":["0x1", "latest", [25, 75]],"id":1,"jsonrpc":"2.0"}'
1curl https://docs-demo.kaia-kairos.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{"method":"klay_feeHistory","params":["0x1", "latest", [25, 75]],"id":1,"jsonrpc":"2.0"}'
1var myHeaders = new Headers();2myHeaders.anhängen("Content-Type", "application/json");34var raw = JSON.stringify({5"method": "klay_feeHistory",6„params“: [7"0x1",8"latest",9[1025,117512]13],14„id“: 1,15„jsonrpc“: "2.0"16});1718var requestOptions = {19Methode: 'POST',20Überschriften: myHeaders,21Körper: raw,22Weiterleitung: 'follow'23};2425abrufen(„https://docs-demo.kaia-kairos.quiknode.pro/“, requestOptions)26.dann(Antwort => Antwort.text())27.dann(Ergebnis => Konsole.log(Ergebnis))28.catch(error => console.log('error', error));
1var myHeaders = new Headers();2myHeaders.anhängen("Content-Type", "application/json");34var raw = JSON.stringify({5"method": "klay_feeHistory",6„params“: [7"0x1",8"latest",9[1025,117512]13],14„id“: 1,15„jsonrpc“: "2.0"16});1718var requestOptions = {19Methode: 'POST',20Überschriften: myHeaders,21Körper: raw,22Weiterleitung: 'follow'23};2425abrufen(„https://docs-demo.kaia-kairos.quiknode.pro/“, requestOptions)26.dann(Antwort => Antwort.text())27.dann(Ergebnis => Konsole.log(Ergebnis))28.catch(error => console.log('error', error));
1import Anfragen2import json34URL = "https://docs-demo.kaia-kairos.quiknode.pro/"56Nutzlast = json.dumps({7"method": "klay_feeHistory",8„params“: [9"0x1",10"latest",11[1225,137514]15],16„id“: 1,17„jsonrpc“: "2.0"18})19Überschriften = {20„Content-Type“: 'application/json'21}2223Antwort = Anfragen.Anfrage("POST", url, headers=headers, Daten=Nutzdaten)2425Drucken(Antwort.text)26
1import Anfragen2import json34URL = "https://docs-demo.kaia-kairos.quiknode.pro/"56Nutzlast = json.dumps({7"method": "klay_feeHistory",8„params“: [9"0x1",10"latest",11[1225,137514]15],16„id“: 1,17„jsonrpc“: "2.0"18})19Überschriften = {20„Content-Type“: 'application/json'21}2223Antwort = Anfragen.Anfrage("POST", url, headers=headers, Daten=Nutzdaten)2425Drucken(Antwort.text)26
1require "uri"2require "json"3require „net/http“45URL = URI(„https://docs-demo.kaia-kairos.quiknode.pro/“)67https = Net::HTTP.new(url.host, URL.Port)8https.use_ssl = true910Anfrage = Netto::HTTP::POST.new(URL)11Anfrage[„Content-Type“] = „application/json“12Anfrage.Inhalt = JSON.dump({13"method": "klay_feeHistory",14„params“: [15"0x1",16"latest",17[1825,197520]21],22„id“: 1,23„jsonrpc“: "2.0"24})2526Antwort = https.Anfrage(Anfrage)27gibt die Antwort aus.read_body28
1require "uri"2require "json"3require „net/http“45URL = URI(„https://docs-demo.kaia-kairos.quiknode.pro/“)67https = Net::HTTP.new(url.host, URL.Port)8https.use_ssl = true910Anfrage = Netto::HTTP::POST.new(URL)11Anfrage[„Content-Type“] = „application/json“12Anfrage.Inhalt = JSON.dump({13"method": "klay_feeHistory",14„params“: [15"0x1",16"latest",17[1825,197520]21],22„id“: 1,23„jsonrpc“: "2.0"24})2526Antwort = https.Anfrage(Anfrage)27gibt die Antwort aus.read_body28
Haben Sie noch kein Konto?
Erstellen Sie Ihren Quicknode-Endpunkt in Sekundenschnelle und legen Sie los
Kostenlos loslegen