Skip to main content
The Flashnet SDK allows you to discover active liquidity pools and retrieve detailed market data for them. You can list all available pools with powerful filtering and sorting options, or query for the specific details of a single pool. The listPools method returns all pool types: V2 constant product, V2 bonding curve, and V3 concentrated liquidity. Each pool type has a different curveType value.

Listing Pools

The listPools method is the primary way to discover pools. You can use it without any parameters to get a list of all pools, or provide a query object to filter and sort the results.

Filtering and Sorting

The listPools method accepts a ListPoolsQuery object with the following options:

Example: Finding Specific Pairs

Getting Pool Details

To get all available information for a single pool, use the getPool method with the pool’s ID (its lpPublicKey).

Understanding Market Data

The pool objects returned by the SDK contain valuable market data. Some fields are common to all pool types, while others are specific to either constant product or single-sided bonding curve pools.

Filtering by Pool Type

V3 Pool Details

V3 pools have additional endpoints for detailed liquidity data:
See Concentrated Liquidity for the full V3 API including position management.