> ## 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.

# core::starknet::info::get_contract_address

Returns the address of the contract being executed.

## Signature

```rust theme={null}
pub fn get_contract_address() -> ContractAddress
```

## Examples

```rust theme={null}
use starknet::get_contract_address;

let contract_address = get_contract_address();
```
