Function getOraclePrices
- getOraclePrices(
client: AlgodClient | IndexerClient,
oracle: Oracle,
assetIds?: number[],
): Promise<OraclePrices> Parameters
- client: AlgodClient | IndexerClient
Algorand client to query
- oracle: Oracle
oracle to query
Optional
assetIds: number[]assets ids to get prices for, if undefined then returns all prices
Returns Promise<OraclePrices>
OraclePrices oracle prices
- client: AlgodClient | IndexerClient
Returns oracle prices for given oracle and provided assets.