Type Alias RequestAddFundsEvent

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

Represents the add funds event object when the add funds 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