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

# predictConduitDeploymentQueryOptions

Query options for predicting the deployment address of a conduit.

## Import

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

## Usage

```ts
import { useQuery } from '@tanstack/react-query'
import { usePublicClient } from 'wagmi'
import { predictConduitDeploymentQueryOptions } from '@railnetorg/railnet-sdk/react'

function PredictAddress() {
  const client = usePublicClient()

  const { data: address } = useQuery(
    predictConduitDeploymentQueryOptions(client, {
      factory: '0x...',
      name: 'My Conduit',
      symbol: 'COND',
      vehicle: '0x...',
      initialExpectedSupply: 1000000000000000000n,
      transferEnabled: true,
      accessControl: '0x...',
      feeManager: '0x...',
      accountList: '0x...',
      ownerRegistry: '0x...',
      querySalt: '0x...',
      deploymentSalt: '0x...',
    }),
  )
}
```

## Returns

```ts
QueryOptions<Address, ReadContractErrorType, Address, PredictConduitDeploymentQueryKey>
```

Options object containing `queryFn` and `queryKey`.

## Parameters

### client

* **Type:** `Client<Transport, Chain | undefined> | undefined`

A viem public client.

### parameters

Same as [`predictConduitDeployment`](/actions/predictConduitDeployment) parameters.

## Query Key

```ts
['railnet', 'predictConduitDeployment', parameters] as const
```

You can use `predictConduitDeploymentQueryKey` to construct the query key manually:

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