# Get Liquidity Pools

URL: https://docs.blux.cc/javascript/core/getLiquidityPools

Fetch a paginated list of Stellar liquidity pools using the Blux core SDK.

The `getLiquidityPools` function returns a paginated list of Stellar liquidity pools.
`forAccount` accepts `G…`, `M…`, SEP-2 federation, or `.xlm`; see
[address resolution](/javascript/core/address-resolution).

The return value contains two properties:
- `response` — the records you can use directly
- `builder` — exposes `next()` and `prev()` to paginate through results

## Type
```tsx
export type CallBuilderOptions = {
  cursor?: string;
  limit?: number;
  network?: string;
  order?: "asc" | "desc";
};

type GetLiquidityPoolsOptions = CallBuilderOptions & {
  forAssets?: Array<AssetArg>;
  forAccount?: string; // G…/M…, SEP-2 address, or .xlm name
};

type GetLiquidityPoolsResult = {
  builder: LiquidityPoolCallBuilder;
  response: Horizon.ServerApi.CollectionPage<Horizon.ServerApi.LiquidityPoolRecord>;
};
```

## Usage
```typescript

const result = await core.getLiquidityPools({ forAccount: "alice.xlm" });
```