• Gets a signed H2SO quote for all the input pairs and calculates the price spread for each pair. The prices follow the pair, returning the price of the base symbol quoted against the quote symbol. One of the symbols in each pair must be USD.

    Parameters

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

    Returns Promise<SignedPrices>

    Example

    const [{ encoded }, aud] = await getQuotedPrices(pairFromString("AUD/USD"));
    

Generated using TypeDoc