Interface UseUserRewardsReturn

Represents the return value for useUserRewards hook.

Hierarchy

  • UseUserRewardsReturn

Properties

currentPage: number

The current page of the user rewards list when using pagination.

Function to load more user rewards.

fetched: boolean

A boolean indicating if the user rewards have been fetched.

hasMore: boolean

Boolean indicating whether there are more pages to fetch.

Method to refresh the user rewards.

userRewardList: ExtendedUserReward[]

Deprecated

use userRewards instead

userRewards: ExtendedUserReward[]

A list of extended user rewards.

Generated using TypeDoc