Understanding and Creating Queries
Last updated
Last updated
You can create a query directly after creating an action, or later through the DAVE Dashboard.
Name Your Query and Add Description: This helps you identify the purpose of the query later.
Specify Action Conditions: Customize how actions are validated by setting specific conditions. You can add multiple conditions to precisely define when an action counts towards completing a quest task.
Select the Action: From the drop-down menu, select the action that matches the user activity you want to track. If you can't find the desired action, create a new one. To add another action to the same query, click '+'. If you add two or more actions to a query, use the toggle to set whether to meet all or any of the conditions.
Define Condition Details: Configure the minimum token transfer requirements. You can set criteria for tokens coming in (to the user), going out (from the user), or both. Ensure you choose the allowed tokens and set a minimum token amount.
Test and Save: Test your action with transaction hashes. If everything looks good, save the action.
Remember, if you ever feel overwhelmed, don't hesitate to call your developer for assistance.