Explore this module further in the Mover Registry: @sage/user
Structs
UserOwned
Represents the User data specific to identity and reputation.
Constants
Represents that content was favorited.
Represents that content was unfavorited.
Error code for when there is no favorited content for the selected App.
Functions
get_avatar
Returns the avatar for the OwnedUser.
get_banner
Returns the banner for the OwnedUser.
get_description
Returns the description for the OwnedUser.
get_key
Returns the lowercase name for the OwnedUser.
get_name
Returns the name for the OwnedUser.
get_owner
Returns the wallet address associated with the OwnedUser.
get_shared_user
Returns the address for the SharedUser associated with the OwnedUser.
get_channel_favorites_length
Get the number of Channels the User has favorited in the App.
get_post_favorites_length
Get the number of Posts the User has favorited in the App.
get_user_favorites_length
Get the number of Users the User has favorited in the App.
get_total_rewards
Get the total amount of $TRUST rewards the User has been awarded through social actions.
has_analytics
Returns true or false based on whether the OwnedUser has analytics for the specified App and reward epoch.