Type Alias CheckoutWidgetsConfig

CheckoutWidgetsConfig: {
    theme?: WidgetTheme;
    environment?: Environment;
    version?: SemanticVersion;
    isOnRampEnabled?: boolean;
    isSwapEnabled?: boolean;
    isBridgeEnabled?: boolean;
}

Represents the global configuration options for the Checkout Widgets.

Type declaration

  • Optionaltheme?: WidgetTheme

    The theme of the Checkout Widget (default: "DARK")

  • Optionalenvironment?: Environment

    The environment configuration (default: "SANDBOX")

  • Optionalversion?: SemanticVersion

    The version of the checkout widgets js file to use (default: "0.1.x")

  • OptionalisOnRampEnabled?: boolean

    Enable on-ramp top-up method (default: "true")

  • OptionalisSwapEnabled?: boolean

    Enable swap top-up method (default: "true")

  • OptionalisBridgeEnabled?: boolean

    Enable bridge top-up method (default: "true")