ZoneId
Zone ID utilities for converting between zone IDs and zone chain IDs.
Zone chain IDs are deterministically derived from zone IDs using the formula
421_700_000 + zoneId. This module provides helpers to convert between them.
Examples
import { ZoneId } from 'ox/tempo'
const zoneId = ZoneId.fromChainId(421_700_026)
26 const chainId = ZoneId.toChainId(26)
421700026Functions
| Name | Description |
|---|---|
ZoneId.fromChainId | Derives a zone ID from a zone chain ID. |
ZoneId.toChainId | Derives a zone chain ID from a zone ID. |

