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

# usePredictConduitDeployment

React hook that predicts the deployment address of a conduit.

## Import

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

## Usage

```tsx
import { usePredictConduitDeployment } from '@railnetorg/railnet-sdk/react'

function PredictAddress() {
  const { data: address, isLoading } = usePredictConduitDeployment({
    factory: '0x1234...',
    name: 'My Conduit',
    symbol: 'COND',
    vehicle: '0x5678...',
    initialExpectedSupply: 1000000000000000000n,
    transferEnabled: true,
    accessControl: '0x...',
    feeManager: '0x...',
    accountList: '0x...',
    ownerRegistry: '0x...',
    querySalt: '0xabc...',
    deploymentSalt: '0xdef...',
  })

  if (isLoading) return <div>Loading...</div>

  return <p>Predicted address: {address}</p>
}
```

## Returns

```ts
UseQueryResult<Address, ReadContractErrorType>
```

Returns the predicted `Address`.

The query is automatically disabled when no public client is available.

## Parameters

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

### enabled (optional)

* **Type:** `boolean`
* **Default:** `true`

Whether the query should be enabled.
