@circle-fin/usdckit - v0.21.0
    Preparing search index...

    Type Alias SwapExactInParams

    Parameters for the swapExactIn function.

    type SwapExactInParams = {
        account: Address | Account;
        chain?: Chain;
        fees?: FeeValuesEIP1559;
        gas?: bigint;
        tokenIn: Address | { abi?: Abi; address: Address };
        tokenInAmount: NativeUnits | BaseUnits;
        tokenOut: Address | { abi?: Abi; address: Address };
        tokenOutAmount?: NativeUnits | BaseUnits;
    }
    Index

    Properties

    account: Address | Account

    The account address that will execute the transaction

    chain?: Chain

    The blockchain network on which the transaction will be executed.

    The fee values for the transaction

    gas?: bigint

    Gas limit for the transaction

    tokenIn: Address | { abi?: Abi; address: Address }

    The token to swap from.

    tokenInAmount: NativeUnits | BaseUnits

    The amount of the token to swap from

    tokenOut: Address | { abi?: Abi; address: Address }

    The token to swap to.

    tokenOutAmount?: NativeUnits | BaseUnits

    The minimum amount of the token to receive from the swap. This is used to protect against slippage.