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.

Returns a StorageBaseAddress given a constant felt252 value. The value is validated to be in the range [0, 2**251 - 256) at compile time.

Signature

pub extern fn storage_base_address_const() -> StorageBaseAddress nopanic;

Examples

use starknet::storage_access::storage_base_address_const;

let base_address = storage_base_address_const::();