klay_accountCreated RPC Method
Parameters
address
string
REQUIRED
Loading...
BlockNumberOrHashOrTag
string
REQUIRED
Loading...
Returns
result
boolean
Loading...
Request
1curl https://docs-demo.kaia-kairos.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{5"method": "klay_accountCreated",6"id": 1,7"jsonrpc": "2.0",8"params": [9"0xa4f42d4d2a3a13874406435500950c9bf2d783db",10"latest"11]12}'
1curl https://docs-demo.kaia-kairos.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{5"method": "klay_accountCreated",6"id": 1,7"jsonrpc": "2.0",8"params": [9"0xa4f42d4d2a3a13874406435500950c9bf2d783db",10"latest"11]12}'
1const myHeaders = new Headers();2myHeaders.append("Content-Type", "application/json");34const raw = JSON.stringify({5"method": "klay_accountCreated",6"id": 1,7"jsonrpc": "2.0",8"params": [9"0xa4f42d4d2a3a13874406435500950c9bf2d783db",10"latest"11]12});1314const requestOptions = {15method: "POST",16headers: myHeaders,17body: raw,18redirect: "follow"19};2021fetch("http://klay-kairos-full-ora-sin-a00:8545/", requestOptions)22.then((response) => response.text())23.then((result) => console.log(result))24.catch((error) => console.error(error));
1const myHeaders = new Headers();2myHeaders.append("Content-Type", "application/json");34const raw = JSON.stringify({5"method": "klay_accountCreated",6"id": 1,7"jsonrpc": "2.0",8"params": [9"0xa4f42d4d2a3a13874406435500950c9bf2d783db",10"latest"11]12});1314const requestOptions = {15method: "POST",16headers: myHeaders,17body: raw,18redirect: "follow"19};2021fetch("http://klay-kairos-full-ora-sin-a00:8545/", requestOptions)22.then((response) => response.text())23.then((result) => console.log(result))24.catch((error) => console.error(error));
1import requests2import json34url = "http://klay-kairos-full-ora-sin-a00:8545/"56payload = json.dumps({7"method": "klay_accountCreated",8"id": 1,9"jsonrpc": "2.0",10"params": [11"0xa4f42d4d2a3a13874406435500950c9bf2d783db",12"latest"13]14})15headers = {16'Content-Type': 'application/json'17}1819response = requests.request("POST", url, headers=headers, data=payload)2021print(response.text)22
1import requests2import json34url = "http://klay-kairos-full-ora-sin-a00:8545/"56payload = json.dumps({7"method": "klay_accountCreated",8"id": 1,9"jsonrpc": "2.0",10"params": [11"0xa4f42d4d2a3a13874406435500950c9bf2d783db",12"latest"13]14})15headers = {16'Content-Type': 'application/json'17}1819response = requests.request("POST", url, headers=headers, data=payload)2021print(response.text)22
1require "uri"2require "json"3require "net/http"45url = URI("http://klay-kairos-full-ora-sin-a00:8545/")67http = Net::HTTP.new(url.host, url.port);8request = Net::HTTP::Post.new(url)9request["Content-Type"] = "application/json"10request.body = JSON.dump({11"method": "klay_accountCreated",12"id": 1,13"jsonrpc": "2.0",14"params": [15"0xa4f42d4d2a3a13874406435500950c9bf2d783db",16"latest"17]18})1920response = http.request(request)21puts response.read_body22
1require "uri"2require "json"3require "net/http"45url = URI("http://klay-kairos-full-ora-sin-a00:8545/")67http = Net::HTTP.new(url.host, url.port);8request = Net::HTTP::Post.new(url)9request["Content-Type"] = "application/json"10request.body = JSON.dump({11"method": "klay_accountCreated",12"id": 1,13"jsonrpc": "2.0",14"params": [15"0xa4f42d4d2a3a13874406435500950c9bf2d783db",16"latest"17]18})1920response = http.request(request)21puts response.read_body22
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free