> ## Documentation Index
> Fetch the complete documentation index at: https://starkware-9575960b-starknet-privacy-docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# core::starknet::class_hash::class_hash_const

Returns a `ClassHash` given a `felt252` value.

## Signature

```rust theme={null}
pub extern fn class_hash_const() -> ClassHash nopanic;
```

## Examples

```rust theme={null}
use starknet::class_hash::class_hash_const;

let class_hash = class_hash_const::();
```
