Documentation
    Preparing search index...

    Function getPythStalePriceFeedId

    • Get stale price feed IDs from Pyth Network

      Identifies price feeds that have not been updated recently (more than 30 seconds old). This helps ensure that only fresh price data is used for lending operations.

      Parameters

      • priceIds: string[]

        Array of Pyth price feed IDs to check

      Returns Promise<string[]>

      Array of stale price feed IDs that need updating

      Error if failed to fetch price feed data