LogoLogo
$THX tokenDiscord Community
  • THX Network
  • 🏗️Campaign Managers
    • Getting Started
    • Analytics
    • Quests
      • Daily Quests
      • Invite Quests
      • Twitter Quests
      • Discord Quests
      • Custom Quests
      • Web3 Quests
      • Webhook Quests
      • Steam Quests
      • Quest Locks
    • Rewards
      • Coin Rewards
      • NFT Rewards
      • Custom Rewards
      • Coupon Rewards
      • Discord Role Rewards
    • Participants
    • Integrations
      • Discord
      • Twitter, now X
      • Gitcoin Passport
    • Coins
    • NFT
  • 🧑‍🤝‍🧑USERS
    • Memberships (Free)
    • Lottery (Free)
  • 💡FAQ
    • Pricing
    • Multi Wallet Account
    • Points
    • Other
  • 💻Developers
    • HTML Widget
    • JS SDK
      • Identity
      • Events
    • API
      • API Specification
      • Example
    • Webhooks
    • QR codes
    • Audits
  • 🪙Tokenomics
    • $THX
    • Locking $THX to $veTHX
    • Increasing Locked $veTHX
    • Protocol
    • Token Distribution
  • 🤝ABOUT
    • Team
    • One Pager
    • Community
Powered by GitBook
On this page

Was this helpful?

  1. Developers
  2. JS SDK

Events

Create event data and configure custom quests for these events. Your users will be able to earn points for for example levelling up in your game.

Last updated 1 year ago

Was this helpful?

thx.events.create({ 
    event: 'level_up', 
    identity: 'a6021617-9aab-4194-b2af-a4dd0cc96f84' 
})

Use Event Requirements in Quests

Event names you register will automatically show up in the Event Dropdown shown in quest creation modals.

💻
Example of events in Developer -> Events
Example of a registered "completed_mission" event.