Type Alias AddFundsWidgetParams

AddFundsWidgetParams: {
    language?: WidgetLanguage;
    showOnrampOption?: boolean;
    showSwapOption?: boolean;
    showBridgeOption?: boolean;
    toTokenAddress?: string;
    toAmount?: string;
    showBackButton?: boolean;
}

Type declaration

  • Optionallanguage?: WidgetLanguage

    The language to use for the Add Funds widget

  • OptionalshowOnrampOption?: boolean

    Configure to show on-ramp option

  • OptionalshowSwapOption?: boolean

    Configure to show swap option

  • OptionalshowBridgeOption?: boolean

    Configure to show on bridge option

  • OptionaltoTokenAddress?: string

    Token address of the fund to be added

  • OptionaltoAmount?: string

    Amount of the fund to be added

  • OptionalshowBackButton?: boolean

    Whether to show a back button on the first screen, on click triggers REQUEST_GO_BACK event