Type Alias OnRampWidgetParams

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

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