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.

The AssetPairsProvider initializes the AssetPairs service. It allows hooks like useAssetPairs to access metadata about trading symbols (icons, display names, liquidity ranking) anywhere in your app.

Import

import { AssetPairsProvider } from '@krono/hooks'

Usage

<AssetPairsProvider config={{ autoFetch: true, topN: 100 }}>
  <SymbolSelector />
</AssetPairsProvider>

Props

config
AssetPairsConfig
required
Configuration for the asset fetching service.
children
ReactNode
Components that need access to symbol metadata.