pub async fn get_achievement_metadata(
    achievement: Principal
) -> Result<AchievementMetadata, String>
Expand description

Retrieves the metadata of an achievement.

This function returns the metadata of a specified achievement.

§Arguments

  • achievement - The principal of the achievement canister.

§Returns

  • Result<AchievementMetadata, String> - The metadata of the achievement.