Type Alias OnRampWidgetParams

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

OnRamp Widget parameters

Type declaration

  • OptionaltokenAddress?: string

    The contract address of the token to onramp

  • Optionalamount?: string

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

  • OptionalwalletProviderName?: WalletProviderName

    The wallet provider name to use for the onramp widget

  • Optionallanguage?: WidgetLanguage

    The language to use for the onramp widget

  • OptionalshowBackButton?: boolean

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