Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.starknet.io/llms.txt

Use this file to discover all available pages before exploring further.

Gets the value of a key in the storage of the calling contract.

Signature

pub extern fn storage_read_syscall(address_domain: u32, address: StorageAddress) -> Result> implicits(GasBuiltin, System) nopanic;

Arguments

  • address_domain - The domain of the address. Only address_domain 0 is currently supported, in the future it will enable access to address spaces with different data availability guarantees.
  • address - The address of the storage key to read.