UniDevKit - v1.0.12
    Preparing search index...

    Interface QuoteParams

    Parameters required for fetching a quote using the V4 Quoter contract.

    interface QuoteParams {
        amountIn: bigint;
        hookData?: `0x${string}`;
        pool: Pool;
        zeroForOne: boolean;
    }
    Index

    Properties

    amountIn: bigint

    The amount of tokens being swapped, expressed as a bigint.

    hookData?: `0x${string}`

    Optional additional data for the hooks, if any.

    pool: Pool

    The pool instance to quote from

    zeroForOne: boolean

    Direction of the swap. True if swapping from the lower token to the higher token, false otherwise.