Skip to main content

klay_getStorageAt RPC Method

Returns the value from a storage position at a given address.

Updated on
Aug 7, 2024

klay_getStorageAt RPC Method

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
1
curl 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
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free