@soku-dex/sdk
    Preparing search index...

    Interface SwapSimulationOutput

    Simulation result with output amount, new reserves, and fees

    interface SwapSimulationOutput {
        amountOut: bigint;
        fees: bigint;
        newReserve0: bigint;
        newReserve1: bigint;
    }
    Index

    Properties

    amountOut: bigint

    Calculated amount of tokens to receive from the swap

    fees: bigint

    Amount of fees charged for the swap

    newReserve0: bigint

    New reserve amount of token0 after the swap

    newReserve1: bigint

    New reserve amount of token1 after the swap