Type Alias BridgeWidgetParams

BridgeWidgetParams: {
    tokenAddress?: string;
    amount?: string;
    walletProviderName?: WalletProviderName;
    language?: WidgetLanguage;
    showBackButton?: boolean;
}

Bridge Widget parameters

Type declaration

  • OptionaltokenAddress?: string

    The contract address of the token to bridge from, used to populate the bridge form token field

  • Optionalamount?: string

    The formatted amount to bridge, used to populate the bridge form amount field

  • OptionalwalletProviderName?: WalletProviderName

    The wallet provider name to use for the bridge widget

  • Optionallanguage?: WidgetLanguage

    The language to use for the bridge widget

  • OptionalshowBackButton?: boolean

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