klay_isContractAccount RPC Method
Parameter
Adresse
Zeichenkette
ERFORDERLICH
Wird geladen...
BlockNumberOrHashOrTag
Zeichenkette
ERFORDERLICH
Wird geladen...
Rücksendungen
Ergebnis
boolesch
Wird geladen...
Anfrage
1curl https://docs-demo.kaia-kairos.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--Daten '{5"method": "klay_isContractAccount",6"id": 1,7"jsonrpc": "2.0",8"params": [9"0x5b70c66bc2758f12cb8ab2c19e0f3bfb9a407d5d",10„aktuell“11]12}'
1curl https://docs-demo.kaia-kairos.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--Daten '{5"method": "klay_isContractAccount",6"id": 1,7"jsonrpc": "2.0",8"params": [9"0x5b70c66bc2758f12cb8ab2c19e0f3bfb9a407d5d",10„aktuell“11]12}'
1var myHeaders = new Headers();2myHeaders.anhängen("Content-Type", "application/json");34var raw = JSON.stringify({5"method": "klay_isContractAccount",6„id“: 1,7„jsonrpc“: "2.0",8„params“: [9"0x5b70c66bc2758f12cb8ab2c19e0f3bfb9a407d5d",10„aktuell“11]12});1314var requestOptions = {15Methode: 'POST',16Überschriften: myHeaders,17Körper: raw,18Weiterleitung: 'follow'19};2021abrufen(„https://docs-demo.kaia-kairos.quiknode.pro/“, requestOptions)22.dann(Antwort => Antwort.text())23.dann(Ergebnis => Konsole.log(Ergebnis))24.catch(error => console.log('error', error));
1var myHeaders = new Headers();2myHeaders.anhängen("Content-Type", "application/json");34var raw = JSON.stringify({5"method": "klay_isContractAccount",6„id“: 1,7„jsonrpc“: "2.0",8„params“: [9"0x5b70c66bc2758f12cb8ab2c19e0f3bfb9a407d5d",10„aktuell“11]12});1314var requestOptions = {15Methode: 'POST',16Überschriften: myHeaders,17Körper: raw,18Weiterleitung: 'follow'19};2021abrufen(„https://docs-demo.kaia-kairos.quiknode.pro/“, requestOptions)22.dann(Antwort => Antwort.text())23.dann(Ergebnis => Konsole.log(Ergebnis))24.catch(error => console.log('error', error));
1import Anfragen2import json34URL = "https://docs-demo.kaia-kairos.quiknode.pro/"56Nutzlast = json.dumps({7"method": "klay_isContractAccount",8"id": 1,9„jsonrpc“: "2.0",10„params“: [11"0x5b70c66bc2758f12cb8ab2c19e0f3bfb9a407d5d",12„aktuell“13]14})15Überschriften = {16„Content-Type“: 'application/json'17}1819Antwort = Anfragen.Anfrage("POST", url, headers=headers, Daten=Nutzdaten)2021Drucken(Antwort.text)22
1import Anfragen2import json34URL = "https://docs-demo.kaia-kairos.quiknode.pro/"56Nutzlast = json.dumps({7"method": "klay_isContractAccount",8"id": 1,9„jsonrpc“: "2.0",10„params“: [11"0x5b70c66bc2758f12cb8ab2c19e0f3bfb9a407d5d",12„aktuell“13]14})15Überschriften = {16„Content-Type“: 'application/json'17}1819Antwort = Anfragen.Anfrage("POST", url, headers=headers, Daten=Nutzdaten)2021Drucken(Antwort.text)22
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_isContractAccount",14„id“: 1,15„jsonrpc“: "2.0",16„params“: [17"0x5b70c66bc2758f12cb8ab2c19e0f3bfb9a407d5d",18„aktuell“19]20})2122Antwort = https.Anfrage(Anfrage)23gibt die Antwort aus.read_body24
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_isContractAccount",14„id“: 1,15„jsonrpc“: "2.0",16„params“: [17"0x5b70c66bc2758f12cb8ab2c19e0f3bfb9a407d5d",18„aktuell“19]20})2122Antwort = https.Anfrage(Anfrage)23gibt die Antwort aus.read_body24
Haben Sie noch kein Konto?
Erstellen Sie Ihren Quicknode-Endpunkt in Sekundenschnelle und legen Sie los
Kostenlos loslegen