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.
Examples
import { PoolId } from 'ox/tempo'
const poolId = PoolId.from({
userToken: 1n,
validatorToken: 2n,
})Functions
| Name | Description |
|---|---|
PoolId.from | Converts a user token and validator token to a pool ID. |

