Gets (unsigned) H2SO prices for all the input pairs and calculates the price spread for each pair, transforming prices to 30 decimals. For hLP, all pairs must be quoted by USD. If a price is not found, it is not included in the returned map.
Mapping from stringified pair to the market price.
const [aud] = await getUnsignedPrices(pairFromString("AUD/USD")); Copy
const [aud] = await getUnsignedPrices(pairFromString("AUD/USD"));
Generated using TypeDoc
Gets (unsigned) H2SO prices for all the input pairs and calculates the price spread for each pair, transforming prices to 30 decimals. For hLP, all pairs must be quoted by USD. If a price is not found, it is not included in the returned map.