@cfxlabsinc/b2b-services
    Preparing search index...

    The price reads, plus what the asset-prices schedule needs to write them.

    Hierarchy (View Summary)

    Index
    db: B2bDatabase
    instance: (...args: []) => AssetPriceAdminService = ...

    The process default: built from each dependency's own instance().

    • Stores quotes. A quote already stored for its (symbol, quote time) is left as it is, so a retried run writes nothing twice.

      Parameters

      • __namedParameters: { prices: { asOf: Instant; symbol: string; usd: BigNumber }[] }

      Returns Promise<{ ok: true; value: { recorded: number } }>