kaia_getProof RPC Method
Parameters
address
string
REQUIRED
Loading...
storageKeys
array
REQUIRED
Loading...
blockNumber
string
Loading...
Returns
address
string
Loading...
accountProof
array
Loading...
balance
string
Loading...
codeHash
string
Loading...
nonce
string
Loading...
storageHash
string
Loading...
storageProof
array
Loading...
key
string
Loading...
value
string
Loading...
proof
array
Loading...
Request
1curl https://docs-demo.kaia-kairos.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{5"method": "eth_getProof",6"id": 1,7"jsonrpc": "2.0",8"params": [9"0xe5cB067E90D5Cd1F8052B83562Ae670bA4A211a8",10["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"],11"latest"12]13}'
1curl https://docs-demo.kaia-kairos.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{5"method": "eth_getProof",6"id": 1,7"jsonrpc": "2.0",8"params": [9"0xe5cB067E90D5Cd1F8052B83562Ae670bA4A211a8",10["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"],11"latest"12]13}'
1var myHeaders = new Headers();2myHeaders.append("Content-Type", "application/json");34var raw = JSON.stringify({5"method": "kaia_getProof",6"params": [7"0xe5cB067E90D5Cd1F8052B83562Ae670bA4A211a8",8["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"],9"latest"10],11"id": 1,12"jsonrpc": "2.0"13});1415var requestOptions = {16method: 'POST',17headers: myHeaders,18body: raw,19redirect: 'follow'20};2122fetch("https://docs-demo.kaia-kairos.quiknode.pro/", requestOptions)23.then(response => response.text())24.then(result => console.log(result))25.catch(error => console.log('error', error));
1var myHeaders = new Headers();2myHeaders.append("Content-Type", "application/json");34var raw = JSON.stringify({5"method": "kaia_getProof",6"params": [7"0xe5cB067E90D5Cd1F8052B83562Ae670bA4A211a8",8["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"],9"latest"10],11"id": 1,12"jsonrpc": "2.0"13});1415var requestOptions = {16method: 'POST',17headers: myHeaders,18body: raw,19redirect: 'follow'20};2122fetch("https://docs-demo.kaia-kairos.quiknode.pro/", requestOptions)23.then(response => response.text())24.then(result => console.log(result))25.catch(error => console.log('error', error));
1import requests2import json34url = "https://docs-demo.kaia-kairos.quiknode.pro/"56payload = json.dumps({7"method": "kaia_getProof",8"params": [9"0xe5cB067E90D5Cd1F8052B83562Ae670bA4A211a8",10["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"],11"latest"12],13"id": 1,14"jsonrpc": "2.0"15})16headers = {17'Content-Type': 'application/json'18}1920response = requests.request("POST", url, headers=headers, data=payload)2122print(response.text)23
1import requests2import json34url = "https://docs-demo.kaia-kairos.quiknode.pro/"56payload = json.dumps({7"method": "kaia_getProof",8"params": [9"0xe5cB067E90D5Cd1F8052B83562Ae670bA4A211a8",10["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"],11"latest"12],13"id": 1,14"jsonrpc": "2.0"15})16headers = {17'Content-Type': 'application/json'18}1920response = requests.request("POST", url, headers=headers, data=payload)2122print(response.text)23
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 = true910request = Net::HTTP::Post.new(url)11request["Content-Type"] = "application/json"12request.body = JSON.dump({13"method": "kaia_getProof",14"params": [15"0xe5cB067E90D5Cd1F8052B83562Ae670bA4A211a8",16["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"],17"latest"18],19"id": 1,20"jsonrpc": "2.0"21})2223response = https.request(request)24puts response.read_body25
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 = true910request = Net::HTTP::Post.new(url)11request["Content-Type"] = "application/json"12request.body = JSON.dump({13"method": "kaia_getProof",14"params": [15"0xe5cB067E90D5Cd1F8052B83562Ae670bA4A211a8",16["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"],17"latest"18],19"id": 1,20"jsonrpc": "2.0"21})2223response = https.request(request)24puts response.read_body25
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free