Interface UseUserRewardReturn

Interface representing the return type of the useUserReward hook.

Hierarchy

  • UseUserRewardReturn

Properties

fetched: boolean

Boolean indicating whether the user reward data has been successfully fetched.

Function to refresh or re-fetch the user reward data.

updateUserRewardState: updateUserRewardStateMethod

Function to update the state of the user reward.

userReward: null | UserReward

The current user reward data. Can be null if no reward is available.

Generated using TypeDoc