Type Alias RequestOnrampEvent

RequestOnrampEvent: {
    tokenAddress: string;
    amount: string;
    provider?: Web3Provider;
}

Represents the onramp event object when the onramp widget is requested.

Type declaration

  • tokenAddress: string

    The address of the token to be used for onramp.

  • amount: string

    The amount of tokens to onramp.

  • Optionalprovider?: Web3Provider

    The connected provider.