# PoolId

Pool ID utilities for computing pool identifiers from token pairs.

Pool IDs are deterministic keys derived from two token addresses (order-independent)
used to identify trading pairs on Tempo's enshrined stablecoin DEX.

[Stablecoin DEX Specification](https://docs.tempo.xyz/protocol/exchange/spec)

## Examples

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

const poolId = PoolId.from({
  userToken: '0x20c0000000000000000000000000000000000001',
  validatorToken:
    '0x20c0000000000000000000000000000000000002'
})
```

## Functions

| Name                | Description                         |
| ------------------- | ----------------------------------- |
| [`PoolId.from`](/tempo/reference/PoolId/from) | Converts a user token and validator token to a pool ID. |
