Interface SwapAmountResponse

Response from calculateSwapAmount

interface SwapAmountResponse {
    swapAmount: bigint;
    sqrtPrice: bigint;
}

Properties

swapAmount: bigint

Amount to be swapped from the input token

sqrtPrice: bigint

Current sqrt price (used for internal calculation)