Type Alias RequestAddTokensEvent

RequestAddTokensEvent: {
    toTokenAddress?: string;
    toAmount?: string;
    showBackButton?: boolean;
}

Represents the add tokens event object when the add tokens widget is requested.

Type declaration

  • OptionaltoTokenAddress?: string

    Token address of the fund to be added

  • OptionaltoAmount?: string

    Amount of the fund to be added

  • OptionalshowBackButton?: boolean

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