Skip to main content

starknet_getStorageAt RPC Method

Get the information about the result of executing the requested block.

Updated on
Mar 18, 2024

starknet_getStorageAt RPC Method

Parameters

contract_address
string
REQUIRED
The address of the contract to read from
key
string
REQUIRED
The key to the storage value for the given contract
block_id
string
REQUIRED
The hash of the requested block, the block number (height) of the requested block, or a block tag (latest or pending)

Returns

result
string
The value at the given key for the given contract. 0 if no value is found
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free