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

# finalizeConduitDeposit

Finalizes a conduit deposit after the initial setup. Requires a `WalletClient` to sign and send the transaction.

## Import

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

## Usage

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

const walletClient = createWalletClient({
  chain: base,
  transport: http(),
})

const hash = await finalizeConduitDeposit(walletClient, {
  factory: '0x1234...',
  conduit: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',
  account: '0xd2135CfB216b74109775236E36d4b433F1DF507B',
})
```

## Returns

`Hash`

The transaction hash of the finalize transaction.

## Parameters

### factory

* **Type:** `Address`

The address of the conduit factory contract.

```ts
const hash = await finalizeConduitDeposit(walletClient, {
  factory: '0x1234...', // [!code focus]
  conduit: '0x...',
  account: '0x...',
})
```

### conduit

* **Type:** `Address`

The address of the conduit contract.

```ts
const hash = await finalizeConduitDeposit(walletClient, {
  factory: '0x...',
  conduit: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e', // [!code focus]
  account: '0x...',
})
```

### account

* **Type:** `Address`

The address of the account executing the transaction.

```ts
const hash = await finalizeConduitDeposit(walletClient, {
  factory: '0x...',
  conduit: '0x...',
  account: '0xd2135CfB216b74109775236E36d4b433F1DF507B', // [!code focus]
})
```
