> ## 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.

<div data-generated>
  ## 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
  }

  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](/api-reference/queries/liquiditylocks.md): Returns liquidity locks for a given pair.
</div>
