Skip to main content

starknet_getStorageAt RPC Method

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

Updated on
Mar 18, 2024

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, pre_confirmed, or l1_accepted)

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