> **Can't find what you're looking for?** Use `search_docs` on the docs MCP server at `https://v3.viem.sh/api/mcp` to find what you need.

# ContractAddress.fromCreate

:::info
`ContractAddress.fromCreate` is a re-export of ox's [`ContractAddress.fromCreate`](https://oxlib.sh/api/ContractAddress/fromCreate). Refer to the ox documentation for the full reference.
:::

Computes contract address via [CREATE](https://ethereum.stackexchange.com/questions/68943/create-opcode-what-does-it-really-do/68945#68945) opcode.

## Imports

```ts
import { ContractAddress } from 'viem/utils'
```

## Examples

```ts twoslash
// @noErrors
import { ContractAddress } from 'viem/utils'

ContractAddress.fromCreate({
  from: '0x1a1e021a302c237453d3d45c7b82b19ceeb7e2e6',
  nonce: 0n
})
// @log: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2'
```

## Definition

```ts
function fromCreate(
  options: fromCreate.Options,
): Address.Address
```

## Parameters

### options

* **Type:** `fromCreate.Options`

Options for retrieving address.

#### options.from

* **Type:** `abitype_Address`

The address the contract was deployed from.

#### options.nonce

* **Type:** `bigint`

The nonce of the transaction which deployed the contract.

## Return Type

Contract Address.

`Address.Address`
