# Channel.domainSeparator

Computes the EIP-712 domain separator for the TIP-20 channel reserve.

Mirrors `domainSeparator` on the TIP-20 channel reserve precompile without performing an RPC call.

## Imports

:::code-group
```ts [Named]
import { Channel } from 'ox/tempo'
```

```ts [Entrypoint]
import * as Channel from 'ox/tempo/Channel'
```
:::

## Examples

```ts twoslash
import { Channel } from 'ox/tempo'

const separator = Channel.domainSeparator({ chainId: 4217 })
```

## Definition

```ts
function domainSeparator(
  value: domainSeparator.Value,
): Hex.Hex
```

**Source:** [src/tempo/Channel.ts](https://github.com/wevm/ox/blob/main/src/tempo/Channel.ts#L292)

## Parameters

### value

* **Type:** `domainSeparator.Value`

Chain id.

#### value.chainId

* **Type:** `number | bigint`

Chain id used by the channel reserve precompile.

## Return Type

The EIP-712 domain separator.

`Hex.Hex`
