Function getOraclePrices

    • Returns oracle prices for given oracle and provided assets.

      Parameters

      • client: AlgodClient | IndexerClient

        Algorand client to query

      • oracle: Oracle

        oracle to query

      • OptionalassetIds: number[]

        assets ids to get prices for, if undefined then returns all prices

      Returns Promise<OraclePrices>

      OraclePrices oracle prices