🌟Points

Retrieve point rewards for individual users.

Points for a specific user

Use getPointsLeaderboard filtered by user_identifier:

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

await Fuul.getPointsLeaderboard({
  user_identifier: '0x1234...',
  identifier_type: 'evm_address',
});

Example response:

{
  "total_results": 1,
  "page": 1,
  "page_size": 10,
  "results": [
    {
      "address": "0x1234...",
      "total_amount": 15000,
      "rank": 42,
      "total_attributions": 85
    }
  ]
}

Points grouped by conversion

Points history (movements)

Each movement includes a payout_status field. For point-type movements, this is always confirmed since no on-chain transaction is needed.

circle-info

Rewards data is updated hourly. Recent conversions and payouts will appear within a maximum of one hour.

API reference

SDK method
API endpoint
Reference

getPointsLeaderboard

GET /v1/payouts/leaderboard/points

getUserPointsByConversion

GET /v1/payouts

getUserPointsMovements

GET /v1/payouts/movements

Last updated