User Tier API Overview
Complete guide to NYYU user tier system and gamification structures
User Tier API
Build engaging gamification systems with tier levels, task rewards, and progression tracking
Overview
The User Tier API enables you to create and manage a comprehensive gamification system within the NYYU platform. Build tier-based progression with customizable task rewards that encourage user engagement and platform interaction.
Core Types
Tier
type Tier {
level: Int!
name: String
point: Float
svg: String
}level - Unique tier identifier (1-5)name - Display name (e.g., Bronze, Gold)point - Points needed to reach tiersvg - Visual badge/icon contentTier Level Examples
Task System Types
WalletTask
type WalletTask {
amount: Int!
point: Float!
}WalletTaskInput
input WalletTaskInput {
amount: Int!
point: Float!
}Used when configuring wallet task rewards in task settings
StakeTask
type StakeTask {
expiredTime: Int!
ratio: Float!
}StakeTaskInput
input StakeTaskInput {
expiredTime: Int!
ratio: Float!
}Used when configuring staking task rewards in task settings
TaskSetting
type TaskSetting {
id: Int!
verification: Float
wallet: [WalletTask]
auction: Float
direct: Float
staking: [StakeTask]
}verification - Email/KYC verification pointsauction - Auction participation pointsdirect - Direct purchase pointswallet - Deposit reward tiersstaking - Staking reward multipliersTaskSettingInput
input TaskSettingInput {
verification: Float!
wallet: [WalletTaskInput]!
auction: Float!
direct: Float!
staking: [StakeTaskInput]!
}Used when creating or updating task reward settings
Task Type Examples
Key Features
Create engaging tier-based progression with customizable levels and rewards
Configure points for various activities: deposits, trading, staking, and verification
Track user advancement through tier levels with point accumulation
Display SVG badges for each tier level to showcase user achievements
Use Cases
Encourage continued platform usage with tiered benefits and exclusive features for higher tiers
Reward specific actions like deposits, trading, and staking to drive desired user behaviors
Build long-term user loyalty with progressive rewards and tier-based privileges
Foster competitive participation through visible tier rankings and achievement badges
Related Operations
Get User Tiers
Retrieve all tier configurations
Add New Tier
Create new tier level (Admin)
Update User Tier
Modify tier configuration (Admin)
Delete User Tier
Remove tier level (Admin)
Add Task Setting
Create task reward settings (Admin)
Update Task Setting
Modify task rewards (Admin)