• 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.

    Parameters

    • pairs: Pair[]
    • network: "base" | "ethereum" | "arbitrum" | "polygon" | "arbitrum-sepolia" = DEFAULT_HLP_NETWORK

    Returns Promise<Record<string, undefined | MarketPrice>>

    Mapping from stringified pair to the market price.

    Example

    const [aud] = await getUnsignedPrices(pairFromString("AUD/USD"));
    

Generated using TypeDoc