• Get the raw reserve components that define the current price. Use this when you need full precision for your own rounding or decimal formatting (e.g. price = quoteReserves / baseReserves for quote-per-token, or baseReserves / quoteReserves for tokens-per-quote).

    Returns

    { baseReserves, quoteReserves } — the total virtual + real reserves on each side of the curve

    Parameters

    Returns {
        baseReserves: bigint;
        quoteReserves: bigint;
    }

    • baseReserves: bigint
    • quoteReserves: bigint

Generated using TypeDoc