kaia_encodeAccountKey RPC Method
Parameter
keyType
Ganzzahl
ERFORDERLICH
Wird geladen...
Schlüssel
Objekt
ERFORDERLICH
Wird geladen...
Rücksendungen
Schlüssel
Zeichenkette
Wird geladen...
Anfrage
1curl https://docs-demo.kaia-kairos.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{5"method": "kaia_encodeAccountKey",6"id": 1,7"jsonrpc": "2.0",8"params": [9{10"keyType": 0,11"key": {}12}13]14}'
1curl https://docs-demo.kaia-kairos.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{5"method": "kaia_encodeAccountKey",6"id": 1,7"jsonrpc": "2.0",8"params": [9{10"keyType": 0,11"key": {}12}13]14}'
1var myHeaders = new Headers();2myHeaders.anhängen("Content-Type", "application/json");34var raw = JSON.stringify({5"method": "kaia_encodeAccountKey",6"id": 1,7"jsonrpc": "2.0",8"params": [9{10"keyType": 0,11"key": {}12}13]14});1516var requestOptions = {17Methode: 'POST',18Überschriften: myHeaders,19body: raw,20redirect: 'follow'21};2223fetch("https://docs-demo.kaia-kairos.quiknode.pro/", requestOptions)24.dann(Antwort => Antwort.text())25.dann(Ergebnis => Konsole.log(Ergebnis))26.catch(error => console.log('error', error));
1var myHeaders = new Headers();2myHeaders.anhängen("Content-Type", "application/json");34var raw = JSON.stringify({5"method": "kaia_encodeAccountKey",6"id": 1,7"jsonrpc": "2.0",8"params": [9{10"keyType": 0,11"key": {}12}13]14});1516var requestOptions = {17Methode: 'POST',18Überschriften: myHeaders,19body: raw,20redirect: 'follow'21};2223fetch("https://docs-demo.kaia-kairos.quiknode.pro/", requestOptions)24.dann(Antwort => Antwort.text())25.dann(Ergebnis => Konsole.log(Ergebnis))26.catch(error => console.log('error', error));
1import Anfragen2import json34url = "https://docs-demo.kaia-kairos.quiknode.pro/"56Nutzlast = json.dumps({7"method": "kaia_encodeAccountKey",8"id": 1,9"jsonrpc": "2.0",10"params": [11{12"keyType": 0,13"key": {}14}15]16})17Kopfzeilen = {18„Content-Type“: 'application/json'19}2021Antwort = Anfragen.Anfrage("POST", url, headers=headers, Daten=Nutzdaten)2223Drucken(Antwort.text)24
1import Anfragen2import json34url = "https://docs-demo.kaia-kairos.quiknode.pro/"56Nutzlast = json.dumps({7"method": "kaia_encodeAccountKey",8"id": 1,9"jsonrpc": "2.0",10"params": [11{12"keyType": 0,13"key": {}14}15]16})17Kopfzeilen = {18„Content-Type“: 'application/json'19}2021Antwort = Anfragen.Anfrage("POST", url, headers=headers, Daten=Nutzdaten)2223Drucken(Antwort.text)24
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“12request.body = JSON.dump({13"method": "kaia_encodeAccountKey",14„id“: 1,15„jsonrpc“: "2.0",16„params“: [17{18"keyType": 0,19"key": {}20}21]22})2324Antwort = https.Anfrage(Anfrage)25gibt die Antwort aus.read_body26
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“12request.body = JSON.dump({13"method": "kaia_encodeAccountKey",14„id“: 1,15„jsonrpc“: "2.0",16„params“: [17{18"keyType": 0,19"key": {}20}21]22})2324Antwort = https.Anfrage(Anfrage)25gibt die Antwort aus.read_body26
Hast du noch kein Konto?
Erstellen Sie Ihrenendpoint Sekundenschnelle und legen Sie los
Kostenlos loslegen