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
Named
import { Channel } from 'ox/tempo'Examples
import { Channel } from 'ox/tempo'
const separator = Channel.domainSeparator({ chainId: 4217 })Definition
function domainSeparator(
value: domainSeparator.Value,
): Hex.HexSource: src/tempo/Channel.ts
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

