> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codex.io/llms.txt
> Use this file to discover all available pages before exploring further.

# LiquidityLock

> A record of locked liquidity. Reference for the LiquidityLock type in the Codex API: every field, its type, and the operations that return it.

## GraphQL

```
type LiquidityLock {
  pairAddress: String!
  networkId: Int!
  ownerAddress: String!
  lockerAddress: String!
  createdAt: Int!
  unlockAt: Int
  lockProtocol: LiquidityLockProtocol!
  liquidityProtocolV2: String!
  liquidityAmount: String!
  initialAmountToken0: String!
  initialAmountToken1: String!
  liquidityNftData: LiquidityNftData
}

enum LiquidityLockProtocol {
  BASECAMP_V1
  UNCX_V2
  UNCX_V3
  BURN
  BITBOND
  METEORA_DAMM_V2
  DOPPLER
  O1_EXCHANGE
  MINARA
  PONS_V2
  METAPLEX_GENESIS
  PINKSALE
  TEAM_FINANCE
  LAUNCH_FAIR
  BAGS
  RAYDIUM_LOCK
  LETSCASH
  PAIR
  LAUNCH_HOOK
  LUNCH_FUN
  LAUNCH_TAX_HOOK
  PEACH
  FOCI
  LIFT
  LONG_SUPPLY
  TOLLY
  FLYWHEEL
  REALM
}

enum LiquidityProtocol {
  UNISWAP_V3
  UNISWAP_V2
  RAYDIUM_V4
  PUMP_V1
  USE_LIQUIDITY_PROTOCOL_V2
}

type LiquidityNftData {
  nftTokenId: String!
  nftPositionManagerAddress: String!
}
```

### Used By

**Returned by**

* [liquidityLocks](https://docs.codex.io/api-reference/queries/liquiditylocks.md) *(deprecated)*: Returns liquidity locks for a given pair.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.