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

    USD prices for the assets ledger accounts hold, read from asset_price, which the asset-prices schedule writes each minute. MOVEUSD is 1 USD.

    Hierarchy (View Summary)

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

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

    • Each symbol's latest USD price, however old, keyed by the symbol as held. null for a symbol never quoted: the caller shows its amount and leaves it out of a USD total, never counting it as zero.

      Parameters

      • __namedParameters: { symbols: string[] }

      Returns Promise<{ ok: true; value: T }>