> ## Documentation Index
> Fetch the complete documentation index at: https://krono.fabianpiper.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Asset Pairs

> Options for fetching and managing tradable asset pairs.

The `AssetPairs` handles the retrieval of available trading pairs and their metadata. It is configured via the `AssetPairsConfig` object.

## Usage

```ts theme={null}
import { AssetPairs } from '@krono/core';

const assets = new AssetPairs({
  topN: 100,
  autoFetch: true,
  debug: false
});
```

## Options

<ParamField body="topN" type="number">
  Limits the stored assets to the top `N` pairs, ranked by liquidity/volume.

  Setting this helps reduce memory usage if you only need access to the most popular markets.
</ParamField>

<ParamField body="autoFetch" type="boolean" default="false">
  If `true`, the service will automatically trigger a fetch request immediately upon instantiation.

  If `false`, you must manually call `.fetch()` or `.refresh()` to load data.
</ParamField>

<ParamField body="debug" type="boolean" default="false">
  Enables logging for the fetching process, including API response times and error details.
</ParamField>
