Liquidity Locks

ℹ️

This endpoint is available with Codex Growth and Enterprise Plans


Endpoint: liquidityLocks

Method: POST

Arguments

NameTypeDescription
cursorString

A cursor for use in pagination.

networkIdInt!

The network id of the pair.

Required
pairAddressString!

The address of the pair.

Required

Response

NameTypeDescription
cursorStringA cursor for use in pagination.
items[LiquidityLock!]!A list of liquidity locks.

NameTypeDescription
createdAtInt!The unix timestamp for when the lock was created.
initialAmountToken0String!The inital amount of token0 locked.
initialAmountToken1String!The inital amount of token1 locked.
liquidityAmountString!The amount of liquidity locked.
liquidityNftDataLiquidityNftDataIf the liquidity position is represented by an NFT, this will contain the NFT data.
liquidityProtocolLiquidityProtocol!The protocol that created the pair
lockerAddressString!The address of the locker contract.
lockProtocolLiquidityLockProtocol!The protocol with which the liquidity is locked.
networkIdInt!The network ID the pair is deployed on.
ownerAddressString!The wallet address of the owner.
pairAddressString!The pair address.
unlockAtIntThe unix timestamp for when the lock expires.