Skip to main content

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.

Import

import { AssetPairs } from '@krono/core'

Usage

Call this method to manually trigger the fetching sequence. This is automatically called in the constructor if autoFetch is set to true.
const assetPairs = new AssetPairs({ autoFetch: false })

// Manually fetch data
await assetPairs.fetch()

Return Type

Promise<AssetPairsData>
Returns a promise that resolves with the processed asset data (list of symbols and the lookup map) once the HTTP request completes successfully.