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

# liquidityLocksV2

> Returns locked liquidity for a pair or token, read from current on-chain state. Vesting is matured at read time, so an expired lock stops counting.

<div data-generated>
  ## GraphQL

  ```
  type Query {
    # Requires a Growth or Enterprise plan.
    liquidityLocksV2(
      pairAddress: String
      tokenAddress: String
      networkId: Int!
      cursor: String
    ): LiquidityLockV2Connection
  }

  enum LiquidityLockProtocol {
    BASECAMP_V1
    UNCX_V2
    UNCX_V3
    BURN
    BITBOND
    METEORA_DAMM_V2
    DOPPLER
    O1_EXCHANGE
    PONS_V2
    METAPLEX_GENESIS
  }

  type PairLockHolder {
    entityId: String
    displayName: String
    lockProtocol: LiquidityLockProtocol
    amount: String!
    permanent: Boolean!
    unlockAt: String
    shared: Boolean
  }

  type PairLockSummary {
    pairAddress: String!
    networkId: Int!
    liquidityProtocol: String!
    liquidity: String!
    locked: String!
    lockedPercent: Float
    permanentLocked: String!
    vestedLocked: String!
    unlocked: String!
    holders: [PairLockHolder!]!
    nextReleasePoint: String
    updatedAt: Int!
    current: Boolean!
  }

  type LiquidityLockV2Connection {
    items: [PairLockSummary!]!
    cursor: String
  }
  ```
</div>
