Type alias OnRampWidgetParams

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

OnRamp Widget parameters

Type declaration

  • Optional tokenAddress?: string

    The contract address of the token to onramp

  • Optional amount?: string

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

  • Optional walletProviderName?: WalletProviderName

    The wallet provider name to use for the onramp widget

  • Optional language?: WidgetLanguage

    The language to use for the onramp widget

Generated using TypeDoc