Overview
Loyalty rules define how users earn points, multipliers, or badges in your loyalty program. Each rule type has specific requirements for parameters, metadata, and configuration. This guide covers all available rule types and their required fields.Common Parameters
All loyalty rules share these common parameters:How often eligibility is checked. Options:
once, daily, weekly,
monthly, immediately.How often users can earn rewards. Options:
once, daily, weekly,
monthly, unlimited, custom.Reward Configuration
Reward Types
- Points
- Multiplier
- Badge
Rule Types
Rule types are grouped below to match the categories shown in the loyalty dashboard. Each type only reads themetadata (and top-level) fields listed for it — omit the rest.
User Onboarding
Complete Profile Details (profile_completed)
Reward users for completing their profile.
Which profile fields must be filled. Keys:
profile_picture, name,
location, nft_portfolio, about, email, twitter, discord,
telegram, evm, solana, sui, ton, imx. If omitted, a default set is
checked (bio, avatar, X, Discord, email).Refer a Friend (referred_user)
Reward users for referring others.
Check In (check_in)
Reward users for checking in.
Streak Configuration
Streak Configuration
Connect Accounts
Reward users for connecting an account. Most connection rules need no metadata — pass an empty object"metadata": {}.
The remaining connection rules take metadata:
Connect X (connected_twitter)
Connect Discord (connected_discord)
Discord Server Structure
Discord Server Structure
Connect Wallet (connect_wallet)
Social Quests
X (Twitter) engagement rules generally requireoauthCredentialsId (top-level) so the platform can verify activity, and many accept an optional verified-account multiplier (metadata.enableVerifiedMultiplier, metadata.verifiedMultiplier).
React to an X Post (drip_x_tweet)
Post on X (drip_x_new_tweet)
Follow an X Account (drip_x_follow, twitter_follow)
drip_x_follow accepts the account as metadata.twitterAccountUrl (full
profile URL) instead of username/ID.Add Text to X Bio / Username / Comment (drip_x_text_in_bio, drip_x_text_in_name, drip_x_text_in_comment)
Reach X Followers (twitter_followers)
Get X Post Impressions (post_impressions)
Optional top-level flag to track progress.
mediaUrl (top-level) can supply a
media reference.Repost an X Post (Retweet)
Like an X Post (twitter_like)
Comment on an X Post (twitter_comment)
Post on X with Hashtag (twitter_post_hashtag)
Get an X Post Liked by Project (tweet_liked_by_project)
Get Discord Role (discord_member)
Join Discord Server (discord_join)
Servers the user must join. Only the server
id is required for this type.Send Discord Messages (DiscordMessages)
Server
id and the channels whose messages count. Each channel can specify
text to match and emojis reactions.Grant a Discord Role (discord_role_grant)
discordServersToJoin item structure
discordServersToJoin item structure
Join Telegram Group (telegram_join)
Send Telegram Messages (telegram_messages)
Follow a TikTok Account (tiktok_follow)
TikTok profile URL to follow (e.g.
https://www.tiktok.com/@username).
Despite the field name, this holds the TikTok URL.Post on TikTok (tiktok_post)
Post on Instagram (instagram_post)
Follow an Instagram Account (instagram_follow)
Instagram profile URL to follow (e.g.
https://www.instagram.com/username).
Despite the field name, this holds the Instagram URL.Subscribe to a YouTube Channel (youtube_subscribers)
Comment on a YouTube Video (youtube_comment)
Comment on a Reddit Post (reddit_comment)
Add an Item to Steam Wishlist (steam_wishlist)
Spend in Shopify Store (shopify_spend)
Token Activity
Mint an NFT (MintOn)
Reward users for minting NFTs.
Purchase an NFT (BoughtOn)
Reward users for purchasing NFTs.
Hold an NFT (TokenHold)
Reward users for holding specific NFTs.
Sell an NFT (SoldOn)
Reward users for selling NFTs.
Hold a Fungible Token (token_hold_erc20)
Reward users for holding ERC20 tokens.
Swap a Token (swap)
Reward users for token swaps.
Hold tokens in Robinhood (robinhood_token_hold)
Optional tiered rewards by holding amount. Falls back to top-level
amount if
omitted.Complex Onchain Logic
Smart Contract Event (smart_contract_event)
Reward based on smart contract events.
Stratus Function (stratus_function)
Custom on-chain logic executed by a Stratus function; the function controls reward output.
Optionally route rewards to the dApp owner. When true,
rewardType must be
points and network is required.Provide Liquidity on Uniswap V2 / V3 (liquidity_uniswap_v2, liquidity_uniswap_v3)
Developers Contribution
Star / Fork / Become a Collaborator (github_repo_star, github_repo_fork, github_repo_collaborator)
Merge a GitHub PR (github_merge_PR)
Other
Submit Text Input (text_input)
Enter a Code (code_entry)
Reward users for entering promo codes.
Click a Link (link_click)
Answer a Quiz (quiz)
Answer a Poll (poll)
Participate in Governance Vote (snapshot_governance)
Create a Partner Account (create_partner_account)
External Rule (external_rule)
Custom rules managed by external services.
Points Airdrop (points_airdrop)
Airdrop points to specific users via CSV.
dApp Activity
Rank and reward dApps by on-chain activity. These rules rely on several top-level fields in addition tometadata.range, and route rewards to the dApp owner (isDappRule).
Applies to: dapps_by_gas_spent, dapps_by_active_users, dapps_by_new_users, dapps_by_transaction_count.
Data window for the metric:
daily, weekly, or monthly. Leave empty for
all-time.dapps_by_user_retention appears in the dashboard but is not yet implemented
— creating it will fail. Use one of the four supported dApp metrics above.Range-Based Rewards
Some rules support range-based rewards with tiered amounts:Range Examples
NFT Token Hold
NFT Token Hold
ERC20 Token Hold (Multiplier)
ERC20 Token Hold (Multiplier)
Advanced Configuration
Max Reward Limits
Claim Type
Reward Lifetime
For multipliers/badges:
permanent (never removed) or dynamic (removed if
requirements not met).Airdrop Duration
Validation Examples
Basic Points Rule
Basic Points Rule
NFT Hold with Custom Rewards
NFT Hold with Custom Rewards
Error Handling
For Ultra networks (Ultra/UltraTestnet), the collection address format is
address::symbol. For example: accountname::TOKEN.Rule Type Limitations and Restrictions
Multiplier Reward Type Support
Claim Type Support
Different rule types support different claim types (manual vs auto-reward):- Manual Only
- Auto Only
- Both Manual & Auto
These rules require users to manually claim rewards:
check_intext_inputpollquizcreate_partner_accounttelegram_joindrip_x_followdrip_x_tweetdrip_x_new_tweetswap
Reward Lifetime Options
TherewardLifetime field (for multipliers and badges) has different support levels:
Permanent Only
Permanent Only
Most rules only support
permanent lifetime where rewards never expire:check_intwitter_followersRetweetBoughtOn,SoldOn,MintOntwitter_like,twitter_comment,twitter_post_hashtagprofile_completed,referred_userpoll,quiz- Most social and connection rules
With
permanent lifetime, once a user qualifies for the reward, they keep it forever even if they stop meeting requirements.Dynamic & Permanent
Dynamic & Permanent
These rules support both
permanent and dynamic lifetime:TokenHold- Most flexible, supports bothexternal_rule- Can expire if user stops meeting requirements
With
dynamic lifetime, rewards are removed if the user no longer meets the requirements (e.g., sold their NFT).Interval Restrictions
Some rules have limited interval options:Rules with
frequency: immediately typically only support interval: once or specific intervals.Rules with frequency: none may support custom intervals.Range-Based Rewards
Range-based rewards are ONLY supported for:TokenHoldBoughtOn,SoldOn,MintOntoken_hold_erc20twitter_followers(withrewardCriteria)external_rule(withtrackProgress)shopify_spend
Network-Specific Limitations
For Ultra and UltraTestnet networks, collection addresses require a
symbol suffix:
address::symbol (e.g., accountname::TOKEN)Token Holdings
Liquidity Pool Limits
Liquidity rules support a maximum of 20 pools per rule, all within the
same network and protocol with the same factory address.