kaia_accountCreated RPC Method
Parameters
address
string
REQUIRED
Loading...
BlockNumberOrHashOrTag
string
REQUIRED
Loading...
Returns
result
boolean
Loading...
Request
curl https://docs-demo.kaia-kairos.quiknode.pro/ \ -X POST \ -H "Content-Type: application/json" \ --data '{ "method": "kaia_accountCreated", "id": 1, "jsonrpc": "2.0", "params": [ "0xa4f42d4d2a3a13874406435500950c9bf2d783db", "latest" ] }'
const myHeaders = new Headers(); myHeaders.append("Content-Type", "application/json"); const raw = JSON.stringify({ "method": "kaia_accountCreated", "id": 1, "jsonrpc": "2.0", "params": [ "0xa4f42d4d2a3a13874406435500950c9bf2d783db", "latest" ] }); const requestOptions = { method: "POST", headers: myHeaders, body: raw, redirect: "follow" }; fetch("http://kaia-kairos-full-ora-sin-a00:8545/", requestOptions) .then((response) => response.text()) .then((result) => console.log(result)) .catch((error) => console.error(error));
import requests import json url = "http://kaia-kairos-full-ora-sin-a00:8545/" payload = json.dumps({ "method": "kaia_accountCreated", "id": 1, "jsonrpc": "2.0", "params": [ "0xa4f42d4d2a3a13874406435500950c9bf2d783db", "latest" ] }) headers = { 'Content-Type': 'application/json' } response = requests.request("POST", url, headers=headers, data=payload) print(response.text)
require "uri" require "json" require "net/http" url = URI("http://kaia-kairos-full-ora-sin-a00:8545/") http = Net::HTTP.new(url.host, url.port); request = Net::HTTP::Post.new(url) request["Content-Type"] = "application/json" request.body = JSON.dump({ "method": "kaia_accountCreated", "id": 1, "jsonrpc": "2.0", "params": [ "0xa4f42d4d2a3a13874406435500950c9bf2d783db", "latest" ] }) response = http.request(request) puts response.read_body
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free