Get Liquidity Info

API Description

Retrieves active liquidity positions for a specific address on a given chain. This endpoint provides detailed information about all active liquidity positions including price ranges, liquidity amounts, entry prices, and last update information.

HTTP Request

GET /v4/public/mm/liquidity/list

Request Parameters

Parameter
Type
Required
Description

chainId

uint64

Yes

Chain ID (e.g., 143 for Monad mainnet)

address

string

Yes

Trader wallet address (EVM address format)

Response Parameters

Parameter
Type
Description

instrumentAddr

string

Contract address of the instrument

expiry

number

Expiry timestamp (4294967295 for perpetual)

tickLower

number

Lower tick of the price range

tickUpper

number

Upper tick of the price range

liquidity

string

Current liquidity amount

entryFeeIndex

string

Entry fee index for fee calculation

balance

string

Position balance

sqrtEntryPX96

string

Square root of entry price in Q96 format

rid

number

Range ID

lowerPrice

string

Lower price of the range

upperPrice

string

Upper price of the range

entryPrice

string

Entry price for the liquidity position

traderAddr

string

Trader wallet address

lastUpdateTime

number

Last update timestamp (Unix timestamp in seconds)

lastUpdateTxHash

string

Transaction hash of the last update

symbol

string

Trading pair symbol (e.g., MONUSDC)

Request Example

Python (requests)

Note: This endpoint requires API authentication. See Quick Start Guide for signature generation details.

Response Example

Success Response

Error Response

Notes

  • This endpoint requires API authentication (see Quick Start Guide)

  • Both chainId and address parameters are required

  • The address must be a valid EVM address format

  • Returns all active liquidity positions for the specified address

  • Only returns positions that currently have liquidity (non-zero liquidity)

  • tickLower and tickUpper: Tick values defining the price range

  • lowerPrice and upperPrice: Actual price values for the liquidity range

  • entryPrice: Price at which the liquidity position was entered

  • liquidity: Current liquidity amount in the position

  • balance: Position balance

  • entryFeeIndex: Used for calculating fees earned from the position

  • sqrtEntryPX96: Square root of entry price in Q96 fixed-point format (used for internal calculations)

  • rid: Unique range ID for this liquidity position

  • expiry: 4294967295 indicates a perpetual contract

  • lastUpdateTime: Unix timestamp in seconds of the last update to this position

  • lastUpdateTxHash: Transaction hash of the last update

  • symbol: Trading pair symbol (e.g., MONUSDC for MON/USDC)

  • Rate limit: 120 requests per minute

  • Success response has code: 0 (not 200)

Last updated