CheckoutOperationParams: {
    chainIdFrom: ChainId;
    chainIdTo: ChainId;
    isMultiplePayment?: boolean;
    price: Price;
    recipient?: Address;
    relayer?: {
        0: Address;
        1: Address;
        2: Address;
    };
    slippage?: number;
}

The parameters for a transaction.

Type declaration

  • chainIdFrom: ChainId

    The ID of the source chain, from getSupportedChains

  • chainIdTo: ChainId

    The ID of the destination chain, from getSupportedChains

  • Optional isMultiplePayment?: boolean

    Whether the transaction accepts a single token as input (false) or multiple tokens (true)

  • price: Price

    The amount of the transaction on the destination chain

  • Optional recipient?: Address

    The wallet address of the recipient of the result of the transaction

  • Optional relayer?: {
        0: Address;
        1: Address;
        2: Address;
    }

    The address of the relayer to use for the transaction

    • 0: Address
    • 1: Address
    • 2: Address
  • Optional slippage?: number

    The slippage tolerance, as a percentage of the source token amount

Generated using TypeDoc