âšī¸Getting all incentives information
Here's how you will get the information for a specific conversion.
Retrieving conversion setup
To get the conversion setup use the getRewardDetails
method.
The PROJECT_ID
and CONVERSION_EXTERNAL_ID
variables are available programmatically from the response in step 1.
Getting Project budgets
Project budgets are available on Fuul's subgraphs.
Every budget is deposited 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 budgets
To get the budget for each currency for a specific project, use the following query.
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