Node Inputs

KeyDescription
API KeyYour OPENFORMAT API Key.
dApp IDThe ID for your OPENFORMAT dApp.
durationThe time range that you want your leaderboard to cover.
No. of ResultsThe number of users shown in the leaderboard (i.e. top 10, top 50 or all).

Node Outputs

KeyDescription
data.totalThe total number of items in the data array.
data.data.userThe account address of the user.
data.data.xp_rewardedThe total experience points rewarded to the user.

What’s next?

You are now successfully returning a leaderboard with web3 account addresses and the amount of XP they have been rewarded. Why not try linking these addresses to your existing users? To do this, you can use our Leaderboard template. Below is an example of a leaderboard in a FlutterFlow application that links existing user profiles to web3 addresses.