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

# predictConduitDeployment

Predicts the address of a conduit before deployment using the factory's deterministic deployment.

## Import

```ts
import { predictConduitDeployment } from '@railnetorg/railnet-sdk'
```

## Usage

```ts
import { createPublicClient, http } from 'viem'
import { base } from 'viem/chains'
import { predictConduitDeployment } from '@railnetorg/railnet-sdk'

const client = createPublicClient({
  chain: base,
  transport: http(),
})

const predictedAddress = await predictConduitDeployment(client, {
  factory: '0x1234...',
  name: 'My Conduit',
  symbol: 'COND',
  vehicle: '0x5678...',
  initialExpectedSupply: 1000000000000000000n,
  transferEnabled: true,
  accessControl: '0x...',
  feeManager: '0x...',
  accountList: '0x...',
  ownerRegistry: '0x...',
  querySalt: '0x...',
  deploymentSalt: '0x...',
})
```

## Returns

`Address`

The predicted address of the conduit.

## Parameters

### factory

* **Type:** `Address`

The address of the conduit factory contract.

### name

* **Type:** `string`

The name of the conduit.

### symbol

* **Type:** `string`

The symbol of the conduit token.

### vehicle

* **Type:** `Address`

The address of the vehicle contract.

### initialExpectedSupply

* **Type:** `bigint`

The initial expected supply.

### transferEnabled

* **Type:** `boolean`

Whether transfers are enabled for the conduit.

### accessControl

* **Type:** `Address`

The address of the access control contract.

### feeManager

* **Type:** `Address`

The address of the fee manager contract.

### accountList

* **Type:** `Address`

The address of the account list contract.

### ownerRegistry

* **Type:** `Address`

The address of the owner registry contract.

### initialInterceptions (optional)

* **Type:** [`Interception[]`](/types/Interception)

Optional initial reward interception routes for the conduit. Defaults to `[]`.

### querySalt

* **Type:** `Hex`

The salt for the query operation. Required for prediction.

### deploymentSalt

* **Type:** `Hex`

The salt for the deployment. Required for prediction.
