A list of utility functions for the price module.

PriceModule will be removed in the future release. Please use endpoint which provides prices.

Constructors

Methods

  • Fetch pool data for the given mints by deriving the PDA from all combinations of mints & tick-arrays. Note that this method can be slow.

    Parameters

    Returns Promise<PoolMap>

    A PoolMap of pool addresses to pool data.

    PriceModule will be removed in the future release. Please use endpoint which provides prices.