Subscriptions empower developers to receive real-time updates triggered by smart contract events or internal loyalty actions. These notifications can either be sent to a webhook endpoint or used to automatically invoke functions.
Blockchain events notify you whenever a smart contract emits an event or a function is called. These events track on-chain state with minimal latency (typically one block), making them ideal for real-time applications.
1
Add Contract to Admin Account
Start by adding the desired smart contract to your admin panel.
2
Select Event
Choose “EVENT” from the subscription options. All available events for the contract will be populated automatically.
Snag events allow subscriptions to internal platform actions. These events relate to loyalty account activities and may have a slight delay (up to 30 seconds) after the action is recorded.
{"id":"234e4567-e89b-12d3-a456-426614174001","userId":"user-uuid-001","isBlocked":false,"websiteId":"website-uuid-001","organizationId":"org-uuid-001","emailAddress":"[email protected]","twitterUser":"userTwitter","twitterUserId":"twitter-001","twitterUserFollowersCount":150,"twitterVerifiedAt":"2025-03-04T10:00:00Z","discordUser":"userDiscord","discordUserId":"discord-001","discordVerifiedAt":"2025-03-04T10:05:00Z","instagramUser":"userInstagram","instagramUserId":"insta-001","instagramVerifiedAt":"2025-03-04T10:10:00Z","logoUrl":"https://example.com/logo.png","displayName":"User Display Name","location":"New York, USA","bio":"Sample bio text.","portfolioUrl":"https://example.com/portfolio","createdAt":"2025-03-04T09:00:00Z","updatedAt":"2025-03-04T11:00:00Z","meta":{}}