Fuul natively tracks onchain actions, but projects can also send custom offchain events to trigger rewards β for example, social media actions, Discord activity, or any backend event.
Custom events must be sent from the backend using the send:trigger_event API key. Never use this key in the frontend β it would allow anyone to send fake conversion events.
You can retrieve conversions configured for your project and check whether a specific user has completed them.
Listing conversions
List all conversions with their triggers and payout configuration (API reference):
Each conversion in the response includes:
Field
Description
name
Conversion display name
triggers
Array of triggers that feed into this conversion
payout_terms
Array of payout configurations, each containing payout_groups with reward rates
Showing trigger names and reward rates
Each conversion includes its associated triggers and payout_terms. You can use these to display what each conversion rewards to end users and referrers.
Triggers β access triggers[].name to show which action the conversion tracks:
Payout rates β access payout_terms[].payout_groups[] to show how much each participant earns. Rates are expressed as a percentage of the trigger volume:
In this example, the Default Tier pays 2% to end users and 0.3% to referrers on the tracked volume. KOLs earn the same end user rate but 1% as referrers.
Payout groups with an audience field apply only to users in that audience segment. The group with "audience": null is the default tier for all users. See Managing audiences for how to assign users to segments.
Checking conversion status
Check whether a user has completed specific conversions β useful for showing progress or unlocking UI elements (API reference):