π’Managing Audiences
This guide will show you how to manage audiences.
Programs can set audiences for different tier payouts or allowlist. Each audience can have entries that are static (entered manually or via API) and dynamic (users that matched a specific condition).
Getting User Audiences
To get the audiences in which a user is in, use the getUserAudiences method.
import { Fuul } from ('@fuul/sdk');
await Fuul.getUserAudiences({
user_identifier: '0x12345',
user_identifier_type: 'evm_address'
});Updating Audience
Audience entries can be updated via Fuul API.
Check the Audience Segments section of our API documentation to create an audience and add & remove users from them.
Last updated