Skip to main content

Parameters

chainId
string
default:"starknet-sepolia"
required
Unique identifier for a blockchain network.
id
number
default:1
required
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"starknet_getStorageAt"
required
JSON-RPC method name.
params
object
Parameters for starknet_getStorageAt: [contract_address, key, block_id]Parameters for starknet_getStorageAt:
  • params.contract_address: Address of the contract to read from.
  • params.key: Key to the storage value for the specified contract.
  • params.block_id: BlockID object containing hash and number.

Returns

result
string
Value of the storage at the specified contract address and key. Returns 0 if no value found. Example: “0x0”.