πŸ”ˆVolume

This article shows how to get onchain payout rewards - individually or in a leaderboard format

This article shows how to get volume and referred volume - individually or in a leaderboard format

Projects can decide to show a leaderboard or a user profile on their own website.

circle-info

Leaderboard data is not updated in real time due to performance considerations. Recent conversions and payouts will appear on the leaderboard within a maximum of one hour.

To get the volume leaderboard for your project use the getVolumeLeaderboard method.

import { Fuul } from ('@fuul/sdk');

await Fuul.getVolumeLeaderboard(
    { 
        user_type: 'affiliate'
     }
);

Use user_type = 'affiliate' for referred volume, and user_type = 'end_user' for converting user volume.

circle-info

The leaderboard response will always return only the top 100 users

circle-info

The referred_volume parameter will be returned in USD values.

Last updated