đGetting Individual Rewards (All time)
This article shows how to get users rewards - either claimed or unclaimed.
Every payout reward has an onchain record on the project's FuulProject contract. This information can be retrieved from any indexer, but using our aggregated subgraphs makes it much easier.
Getting onchain rewards info
To get the total, claimed and unclaimed rewards for a specific user and Fuul projects, use the following query.
You can also filter out by currency like this:
To query the subgraph, follow this guide from TheGraph, or make a request directly to the endpoint using a library like axios or requests.
Subgraphs
There is one subgraph per network supported by Fuul. These are the endpoints:
Last updated