Parameters
address
string
REQUIRED
The address of the storage
Position
string
REQUIRED
The position in the storage
BlockNumberOrHashOrTag
string
REQUIRED
The block number in integer, block hash or block tag(earliest and latest)
Returns
result
string
Returns the value from a storage position at a given address
Request
1curl https://docs-demo.kaia-kairos.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{5"method": "klay_getStorageAt",6"id": 1,7"jsonrpc": "2.0",8"params": [9"0x295a70b2de5e3953354a6a8344e616ed314d7251",10"0x0",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": "klay_getStorageAt",6"id": 1,7"jsonrpc": "2.0",8"params": [9"0x295a70b2de5e3953354a6a8344e616ed314d7251",10"0x0",11"latest"12]13}'
1var myHeaders = new Headers();2myHeaders.append("Content-Type", "application/json");34var raw = JSON.stringify({5"method": "klay_getStorageAt",6"params": [7"0x295a70b2de5e3953354a6a8344e616ed314d7251",8"0x0",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": "klay_getStorageAt",6"params": [7"0x295a70b2de5e3953354a6a8344e616ed314d7251",8"0x0",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": "klay_getStorageAt",8"params": [9"0x295a70b2de5e3953354a6a8344e616ed314d7251",10"0x0",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": "klay_getStorageAt",8"params": [9"0x295a70b2de5e3953354a6a8344e616ed314d7251",10"0x0",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": "klay_getStorageAt",14"params": [15"0x295a70b2de5e3953354a6a8344e616ed314d7251",16"0x0",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": "klay_getStorageAt",14"params": [15"0x295a70b2de5e3953354a6a8344e616ed314d7251",16"0x0",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