Get User Leaderboard
Export the CSV of user rewards in a campaign
Retrieve a CSV file that displays all the users who have rewards in the campaign and their cumulative rewards by a given Campaign ID.
Endpoint
GET https://incentra-prd.brevis.network/sdk/v1/userRewardsExample (curl)
curl https://incentra-prd.brevis.network/sdk/v1/userRewards?campaign_id=1745558044Response:
{
"err": null,
"url": "https://incentra-user-reward-csv.s3.us-west-2.amazonaws.com/campaign-1745985401-rewards-20250506-061050.csv"
}CSV name rule:
campaign-{campaignID}-rewards-{dateTime}.csvcampaignID: The unique ID for a campaigndateTime: In"YYMMDD-HHmmss"format, UTC. For example,20250506-151050represents2025-05-06 15:10:50.
CSV Format
The CSV including the 2 columns, User And EarnedAmount
User: user address
EarnedAmount: the accumulated amount of reward tokens earned by each user in the campaign
The CSV table sort in descending order by Total Rewards Earned.
Last updated

